{"id":89,"date":"2010-08-23T11:35:37","date_gmt":"2010-08-23T11:35:37","guid":{"rendered":"http:\/\/jonathanbjorkskog.com\/?p=89"},"modified":"2010-11-30T14:54:03","modified_gmt":"2010-11-30T14:54:03","slug":"create-quicktab-block-that-is-populated-by-cck-fields","status":"publish","type":"post","link":"https:\/\/jonathanbjorkskog.com\/de\/create-quicktab-block-that-is-populated-by-cck-fields","title":{"rendered":"Quicktab-Bl\u00f6cke erstellen, die mit cck-Feldern gef\u00fcllt werden"},"content":{"rendered":"<p>I tried to make a product page with some information, a picture, and then two tabs at the bottom with additional information (Ingredients and nutrition). This was easy with <a title=\"The quicktabs module\" href=\"http:\/\/drupal.org\/project\/quicktabs\" target=\"_blank\">quicktabs module<\/a>. With that installed, I had to create two new blocks, ingredients and nutrition. Then I went to the quicktabs section on the admin panel, created a new quicktab, created two block-type tabs in that one, and populated them with the blocks I just created, nutrition and ingredients. Then I had to go to the blocks overview page and activate the new quicktab block, and make it visible for the page i just created in a block area under the content (Content-bottom, I have a theme based on Zen).<\/p>\n<p><!--more--><\/p>\n<p>This would have been OK if:<\/p>\n<ol>\n<li>I Would be the one that makes the product pages.<\/li>\n<li>There would be one to five different products.<\/li>\n<\/ol>\n<p>But:<\/p>\n<ol>\n<li>The one that creates the products is just a common business man, not one that has the time or the technical skills to create a lot of blocks and quictabs.<\/li>\n<li>There are about 70-100 products..<\/li>\n<\/ol>\n<p>Another problem with this is that there would appear 70-100 blocks with\u00a0nutrition, and 70-100 blocks with ingredients, AND 70-100 Quicktabs blocks in content bottom, all activated for the single product page that it is related to. So this was not even an option, I started like this, but recognized after three products that I cant do like this. Then I searched for other modules, like Tabs, CCK Fieldgroup tabs, and so on, but I did not find a single one that could solve my problem. I found out that the thing I wanted was two extra cck-fields in the display where you add a new product (node type product), so that you could fill in the ingredients and nutrition on the same time as you create the product, And these fields would then appear in a quick-tab-block in content-bottom for that page automatically when saving the page.<\/p>\n<h2>So how did I fix it?<\/h2>\n<p>At first I created two new CCK-fields, and made them appear under the body of the product-type node. \u00a0This way the two fields\u00a0appeared\u00a0under each other and you could fill in the information at the same time as you created the product. Now I just had to make them appear in a tabbed form instead of under each other. I tried to search in my head and on Google for some javascript that I easily could use for this, but neither of them could give me an easy and\u00a0great-looking\u00a0solution that worked the &#8220;Drupal-way&#8221;. By the way, I do not like to\u00a0create\u00a0my own javascript anyway.<\/p>\n<p><a href=\"http:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-10.jpg\"><img decoding=\"async\" class=\"alignnone size-full wp-image-93\" title=\"I created two new CCK fields for nutrition and ingredients\" src=\"http:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-10.jpg\" alt=\"I created two new CCK fields for nutrition and ingredients\" width=\"500\" srcset=\"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-10.jpg 725w, https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-10-300x55.jpg 300w\" sizes=\"(max-width: 725px) 100vw, 725px\" \/><\/a><\/p>\n<p>Then I thought that I can exclude these two fields from the view, and maybe pull them out from the node in a quicktab that i place in content-bottom. But then I saw that Quick-tabs DOES NOT have an option for showing CCK-fields in a tabbed form. This feels a little stupid to me. Next step was to dig in my head \u00a0and on Google for some php-knowledge, I really had to get this working now. I found out that you could pull a CCK-field to a block <a href=\"http:\/\/drupal.org\/node\/171160\" target=\"_blank\">on this site<\/a>, and now it became clear. I enabled the php-filter module thats included in the Drupal core. I deleted all the stupid qucktab-blocks that i had made, and all the ingredients- and nutrition-blocks from the blocks-overview page. Then I created a new block for ingredients, that included this great php-code:<\/p>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">&lt;?php<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">if ( arg(0) == &#8216;node&#8217; &amp;&amp; is_numeric(arg(1)) ) {<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">$node = node_load(arg(1));<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">if ( $node-&gt;type == &#8216;produkt&#8217; ) {<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">\/\/ Do something with $node<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">print $node-&gt;field_ingredienser[0][&#8216;value&#8217;];<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">}<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">}<\/span><\/div>\n<div id=\"_mcePaste\"><span style=\"color: #ff0000;\">?&gt;<\/span><\/div>\n<div><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">This code pulls the field &#8220;ingredienser&#8221; from the node type &#8220;product&#8221; and outputs the value. &#8220;ingredienser&#8221; is just swedish for ingredients. I did not enable this field for any page, just kept it in the list of inactive blocks. I duplicated it and made one for the nutrition also. (just changed the &#8220;field_ingredienser&#8221; to &#8220;field_nutrition&#8221;). <\/span><\/span><\/div>\n<div><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">Then i went to quicktabs again, created a new quicktab block that had two tabs, populated with the two blocks with the php code inside. I saved this new quicktab-block, went back to the blocks-overview page and activated this block and made it show on all the productpages. I use mysite.com\/products\/product URL for the productpages, so the only thing i had to do was to activate it on the following pages: products\/* . <\/span><\/span><\/div>\n<h3><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">And Voila! <\/span><\/span><\/h3>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\">Now the customer can create a product and fill in the basic info, upload the picture, fill in the nutrition field, fill in the ingredients field, and save. All on the same page. When the product is saved, everything shows up as it should on the product page! You can see the page that I use this solution on here: <a title=\"Musch barf koiranruoka\" href=\"http:\/\/musch.fi\/barf\/sika\/sian-jauheliha\" target=\"_blank\">Musch.fi\/barf<\/a> (in Finnish) or here <a title=\"Musch barf hundmat\" href=\"http:\/\/musch.fi\/sv\/barf\/gris\/gris-maletkott\" target=\"_blank\">Musch.fi\/sv\/barf<\/a> (in Swedish).<\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"><span style=\"color: #000000;\"> <\/span><\/span><\/p>\n<p><span style=\"color: #ff0000;\"> <\/span><\/p>\n<figure id=\"attachment_90\" aria-describedby=\"caption-attachment-90\" style=\"width: 500px\" class=\"wp-caption alignnone\"><a href=\"http:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png\"><img loading=\"lazy\" decoding=\"async\" class=\"size-full wp-image-90 \" title=\"The two quicktabs now contains the data that I wrote in the cck fields\" src=\"http:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png\" alt=\"The two quicktabs now contains the data that I wrote in the cck fields\" width=\"500\" height=\"403\" srcset=\"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png 1022w, https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9-300x241.png 300w\" sizes=\"auto, (max-width: 500px) 100vw, 500px\" \/><\/a><figcaption id=\"caption-attachment-90\" class=\"wp-caption-text\">The two quicktabs now contains the data that I wrote in the cck fields<\/figcaption><\/figure>\n<p>The plugins I used for making this happen is the following:<\/p>\n<ul>\n<li><a href=\"http:\/\/drupal.org\/project\/cck\">CCK<\/a><\/li>\n<li><a href=\"http:\/\/drupal.org\/project\/quicktabs\" target=\"_blank\">Quick tabs<\/a><\/li>\n<li>Php-filter (included in core)<\/li>\n<\/ul>\n<p>This is a Quite simple solution to my problem, until Quick-tabs starts to support cck fields for the tabs. Do not know if anyone else had this problem, but anyway, I still had to write down my solution somewhere if I need it more times.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ich habe versucht, eine Produktseite mit einigen Informationen, einem Bild und dann zwei Registerkarten am unteren Rand mit zus\u00e4tzlichen Informationen (Zutaten und N\u00e4hrwerte) zu erstellen. Dies war mit dem Modul quicktabs einfach. Nachdem das Modul installiert war, musste ich zwei neue Bl\u00f6cke erstellen: Zutaten und N\u00e4hrwerte. Dann ging ich zum Abschnitt quicktabs auf dem Admin-Panel,...<\/p>","protected":false},"author":1,"featured_media":90,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_uag_custom_page_level_css":"","_kadence_starter_templates_imported_post":false,"_kad_post_transparent":"","_kad_post_title":"","_kad_post_layout":"","_kad_post_sidebar_id":"","_kad_post_content_style":"","_kad_post_vertical_padding":"","_kad_post_feature":"","_kad_post_feature_position":"","_kad_post_header":false,"_kad_post_footer":false,"footnotes":""},"categories":[50],"tags":[],"class_list":["post-89","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-drupal"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Create Quicktab blocks populated by cck fields - Jonathan Bj\u00f6rkskog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/jonathanbjorkskog.com\/de\/create-quicktab-block-that-is-populated-by-cck-fields\/\" \/>\n<meta property=\"og:locale\" content=\"de_DE\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Create Quicktab blocks populated by cck fields - Jonathan Bj\u00f6rkskog\" \/>\n<meta property=\"og:description\" content=\"I tried to make a product page with some information, a picture, and then two tabs at the bottom with additional information (Ingredients and nutrition). This was easy with quicktabs module. With that installed, I had to create two new blocks, ingredients and nutrition. Then I went to the quicktabs section on the admin panel,...\" \/>\n<meta property=\"og:url\" content=\"https:\/\/jonathanbjorkskog.com\/de\/create-quicktab-block-that-is-populated-by-cck-fields\/\" \/>\n<meta property=\"og:site_name\" content=\"Jonathan Bj\u00f6rkskog\" \/>\n<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/Jonathan.Bjorkskog\" \/>\n<meta property=\"article:published_time\" content=\"2010-08-23T11:35:37+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2010-11-30T14:54:03+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1022\" \/>\n\t<meta property=\"og:image:height\" content=\"824\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Jonathan\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/JonathanBJ\" \/>\n<meta name=\"twitter:label1\" content=\"Verfasst von\" \/>\n\t<meta name=\"twitter:data1\" content=\"Jonathan\" \/>\n\t<meta name=\"twitter:label2\" content=\"Gesch\u00e4tzte Lesezeit\" \/>\n\t<meta name=\"twitter:data2\" content=\"5\u00a0Minuten\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields\"},\"author\":{\"name\":\"Jonathan\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/person\\\/dc27f073951abad63af3a5988d59cad0\"},\"headline\":\"Create Quicktab blocks populated by cck fields\",\"datePublished\":\"2010-08-23T11:35:37+00:00\",\"dateModified\":\"2010-11-30T14:54:03+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields\"},\"wordCount\":911,\"commentCount\":34,\"publisher\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Picture-9.png\",\"articleSection\":[\"Drupal\"],\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields\",\"name\":\"Create Quicktab blocks populated by cck fields - Jonathan Bj\u00f6rkskog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Picture-9.png\",\"datePublished\":\"2010-08-23T11:35:37+00:00\",\"dateModified\":\"2010-11-30T14:54:03+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#breadcrumb\"},\"inLanguage\":\"de\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Picture-9.png\",\"contentUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/08\\\/Picture-9.png\",\"width\":\"1022\",\"height\":\"824\",\"caption\":\"The two quicktabs now contains the data that I wrote in the cck fields\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/create-quicktab-block-that-is-populated-by-cck-fields#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Drupal\",\"item\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/category\\\/drupal\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Create Quicktab blocks populated by cck fields\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#website\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"name\":\"Jonathan Bj\u00f6rkskog\",\"description\":\"Growth Marketing since 2009\",\"publisher\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"de\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#organization\",\"name\":\"Jonathan Bj\u00f6rkskog\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/8330_154078676372_561696372_3193947_7420903_n.jpg\",\"contentUrl\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/wp-content\\\/uploads\\\/2010\\\/06\\\/8330_154078676372_561696372_3193947_7420903_n.jpg\",\"width\":\"391\",\"height\":\"401\",\"caption\":\"Jonathan Bj\u00f6rkskog\"},\"image\":{\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"}},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/jonathanbjorkskog.com\\\/#\\\/schema\\\/person\\\/dc27f073951abad63af3a5988d59cad0\",\"name\":\"Jonathan\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"de\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g\",\"caption\":\"Jonathan\"},\"description\":\"Jonathan Bj\u00f6rkskog is a marketer \\\/ Growth Hacker from Finland, that has been working full time with marketing for big corporations and some of the largest e-commerce sites in Northern Europe. With a passion for organic search, content, and growth, and a background in tech and coding, he has a broad overview of the strategies and tactics of online marketing. Having started up an agency with over 100 employees also helps to get a broad overview of what any kind of business could do to be successful online.\",\"sameAs\":[\"https:\\\/\\\/jonathanbjorkskog.com\\\/\",\"https:\\\/\\\/www.facebook.com\\\/Jonathan.Bjorkskog\",\"https:\\\/\\\/www.instagram.com\\\/jonathanbjorkskog\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/in\\\/jonathanbjorkskog\\\/\",\"https:\\\/\\\/x.com\\\/https:\\\/\\\/twitter.com\\\/JonathanBJ\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Quicktab-Bl\u00f6cke erstellen, die mit cck-Feldern gef\u00fcllt werden - Jonathan Bj\u00f6rkskog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/jonathanbjorkskog.com\/de\/create-quicktab-block-that-is-populated-by-cck-fields\/","og_locale":"de_DE","og_type":"article","og_title":"Create Quicktab blocks populated by cck fields - Jonathan Bj\u00f6rkskog","og_description":"I tried to make a product page with some information, a picture, and then two tabs at the bottom with additional information (Ingredients and nutrition). This was easy with quicktabs module. With that installed, I had to create two new blocks, ingredients and nutrition. Then I went to the quicktabs section on the admin panel,...","og_url":"https:\/\/jonathanbjorkskog.com\/de\/create-quicktab-block-that-is-populated-by-cck-fields\/","og_site_name":"Jonathan Bj\u00f6rkskog","article_author":"https:\/\/www.facebook.com\/Jonathan.Bjorkskog","article_published_time":"2010-08-23T11:35:37+00:00","article_modified_time":"2010-11-30T14:54:03+00:00","og_image":[{"width":1022,"height":824,"url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png","type":"image\/png"}],"author":"Jonathan","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/JonathanBJ","twitter_misc":{"Verfasst von":"Jonathan","Gesch\u00e4tzte Lesezeit":"5\u00a0Minuten"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#article","isPartOf":{"@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields"},"author":{"name":"Jonathan","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/person\/dc27f073951abad63af3a5988d59cad0"},"headline":"Create Quicktab blocks populated by cck fields","datePublished":"2010-08-23T11:35:37+00:00","dateModified":"2010-11-30T14:54:03+00:00","mainEntityOfPage":{"@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields"},"wordCount":911,"commentCount":34,"publisher":{"@id":"https:\/\/jonathanbjorkskog.com\/#organization"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage"},"thumbnailUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png","articleSection":["Drupal"],"inLanguage":"de","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#respond"]}]},{"@type":"WebPage","@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields","url":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields","name":"Quicktab-Bl\u00f6cke erstellen, die mit cck-Feldern gef\u00fcllt werden - Jonathan Bj\u00f6rkskog","isPartOf":{"@id":"https:\/\/jonathanbjorkskog.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage"},"thumbnailUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png","datePublished":"2010-08-23T11:35:37+00:00","dateModified":"2010-11-30T14:54:03+00:00","breadcrumb":{"@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#breadcrumb"},"inLanguage":"de","potentialAction":[{"@type":"ReadAction","target":["https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields"]}]},{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#primaryimage","url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png","contentUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png","width":"1022","height":"824","caption":"The two quicktabs now contains the data that I wrote in the cck fields"},{"@type":"BreadcrumbList","@id":"https:\/\/jonathanbjorkskog.com\/create-quicktab-block-that-is-populated-by-cck-fields#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/jonathanbjorkskog.com\/"},{"@type":"ListItem","position":2,"name":"Drupal","item":"https:\/\/jonathanbjorkskog.com\/category\/drupal"},{"@type":"ListItem","position":3,"name":"Create Quicktab blocks populated by cck fields"}]},{"@type":"WebSite","@id":"https:\/\/jonathanbjorkskog.com\/#website","url":"https:\/\/jonathanbjorkskog.com\/","name":"Jonathan Bj\u00f6rkskog","description":"Wachstumsmarketing seit 2009","publisher":{"@id":"https:\/\/jonathanbjorkskog.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/jonathanbjorkskog.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"de"},{"@type":"Organization","@id":"https:\/\/jonathanbjorkskog.com\/#organization","name":"Jonathan Bj\u00f6rkskog","url":"https:\/\/jonathanbjorkskog.com\/","logo":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/logo\/image\/","url":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/06\/8330_154078676372_561696372_3193947_7420903_n.jpg","contentUrl":"https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/06\/8330_154078676372_561696372_3193947_7420903_n.jpg","width":"391","height":"401","caption":"Jonathan Bj\u00f6rkskog"},"image":{"@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/logo\/image\/"}},{"@type":"Person","@id":"https:\/\/jonathanbjorkskog.com\/#\/schema\/person\/dc27f073951abad63af3a5988d59cad0","name":"Jonathan","image":{"@type":"ImageObject","inLanguage":"de","@id":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/639d9916e0b5fbdf8638629287dba1e9e01aa58ac3db092f0d436b15e176a751?s=96&d=mm&r=g","caption":"Jonathan"},"description":"Jonathan Bj\u00f6rkskog ist ein Marketer \/ Growth Hacker aus Finnland, der hauptberuflich im Marketing f\u00fcr gro\u00dfe Unternehmen und einige der gr\u00f6\u00dften E-Commerce-Websites in Nordeuropa gearbeitet hat. Mit seiner Leidenschaft f\u00fcr organische Suche, Inhalte und Wachstum und einem Hintergrund in Technik und Programmierung hat er einen breiten \u00dcberblick \u00fcber die Strategien und Taktiken des Online-Marketings. Da er eine Agentur mit \u00fcber 100 Mitarbeitern gegr\u00fcndet hat, hat er auch einen umfassenden \u00dcberblick dar\u00fcber, was jede Art von Unternehmen tun kann, um online erfolgreich zu sein.","sameAs":["https:\/\/jonathanbjorkskog.com\/","https:\/\/www.facebook.com\/Jonathan.Bjorkskog","https:\/\/www.instagram.com\/jonathanbjorkskog\/","https:\/\/www.linkedin.com\/in\/jonathanbjorkskog\/","https:\/\/x.com\/https:\/\/twitter.com\/JonathanBJ"]}]}},"uagb_featured_image_src":{"full":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",1022,824,false],"thumbnail":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9-150x150.png",150,150,true],"medium":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9-300x241.png",300,241,true],"medium_large":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",768,619,false],"large":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",620,500,false],"1536x1536":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",1022,824,false],"2048x2048":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",1022,824,false],"trp-custom-language-flag":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",15,12,false],"ptam-block-post-grid-landscape":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",496,400,false],"ptam-block-post-grid-square":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",600,484,false],"ptam-block-post-grid-featured-landscape":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",744,600,false],"wplb_square":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",500,403,false],"web-stories-poster-portrait":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",640,516,false],"web-stories-publisher-logo":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",96,77,false],"web-stories-thumbnail":["https:\/\/jonathanbjorkskog.com\/wp-content\/uploads\/2010\/08\/Picture-9.png",150,121,false]},"uagb_author_info":{"display_name":"Jonathan","author_link":"https:\/\/jonathanbjorkskog.com\/de\/author\/admin"},"uagb_comment_info":34,"uagb_excerpt":"I tried to make a product page with some information, a picture, and then two tabs at the bottom with additional information (Ingredients and nutrition). This was easy with quicktabs module. With that installed, I had to create two new blocks, ingredients and nutrition. Then I went to the quicktabs section on the admin panel,...","_links":{"self":[{"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/posts\/89","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/comments?post=89"}],"version-history":[{"count":18,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/posts\/89\/revisions"}],"predecessor-version":[{"id":320,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/posts\/89\/revisions\/320"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/media\/90"}],"wp:attachment":[{"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/media?parent=89"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/categories?post=89"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/jonathanbjorkskog.com\/de\/wp-json\/wp\/v2\/tags?post=89"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}