Community & Support

Displaying CCK fields in tabs

Hello,

I am trying to create a custom node (using CCK) that has the following structure

Node
-Field 1
-Field 2
-FieldGroup1
|__FGField11
|__FGField12

-FieldGroup2
|__FGField21
|__FGField22

-FieldGroup3
|__FGField31
|__FGField32

I want to display the node in the following format
Node
-Field 1
-Field 2

Tab1 : containing FieldGroup1
Tab2 : containing FieldGroup2
Tab3 : containing FieldGroup3

There is a really nice implementation of almost the exact thing at http://observers.gohernandez.com/election/results/2005/kabul - check out the tabs at the bottom.

I have experimented with CCK Fieldgroup tabs (http://drupal.org/project/cck_fieldgroup_tabs) but I am not sure how to do this with the quick tabs implementation above. One option is to really update the node.tpl.php for the particular node type I have created, but I was wondering if there is a module or a quick tutorial on customization of one of the many tab / custom tab modules that will help me achieve this? I would rather not tough the templates if I don't have to (I am somewhat OK at basic PHP but not great to do things myself) .

There are a lot of different modules (quicktabs, tabs, magic tabs) but not a lot of documentation on how I can get to the end result.

I do appreciate the help. Thanks in advance.

Regards

Comments

I find using CCK Fieldgroup

I find using CCK Fieldgroup Tabs the easiest approach in case like this.

I agree

However , is it possible to have all tabs show up , without the previous / next buttons?

Check under

Check under admin/settings/tabs, you can disable the navigation buttons.

You are my saviour

@nevets, yes you are.

*smacking my head on the laptop*

Gotta get some sleep now. It was *right there* ... this is what happens when you have waay to many modules on the site.

thanks again.

Field Group Shoots out of Tabs

Using Fieldgroup Tabs, When I hit the "Add More" btn for a group with unlimited feature enabled, the field group shoots out below the Tabs , this happens for each tab you want to add another row of item to. The field groups stay within the tabs when the page is loaded. Is there any solution to this?

This is my Signature, Whats yours