Horizontal Tabs

Events happening in the community are now at Drupal community events on www.drupal.org.
frankdesign's picture

Hi all

I'm working on a site where I need to display a number of fields on a node as horizontal tabs. I also need the labels of these tabs to be editable per node.

I know the module Field Group allows for the easy creation of horizontal tabs but it looks like the tab labels are static per content type (unless I'm missing something).

Anybody got any suggestions?

Thanks

Frank

Comments

Hi Frank Assuming Drupal 7,

gavin.hughes's picture

Hi Frank

Assuming Drupal 7, You could try using a multi value field_collection field on the node, In the field collection add 2 fields a text field for the label and another for the body field.

Gavin

views + quick tabs?

conorc's picture

Gavin's suggestion sounds good. Failing that a possibly more complicated way might be to create views blocks of each of the tabs and pull them together with quick tabs.

Let us know how you get on.

Thanks Lads. I've decided to

frankdesign's picture

Thanks Lads. I've decided to use the Field Collection module to create the tab labels and the text for each tab and I'm going to use Field Collection Tab Formatter module to format it into tabs. Really simple!

Thanks for pointing me in the right direction

Frank

Ireland

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds: