O'Reilly logo

Drupal 7 Theming Cookbook by Karthik Kumar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Manipulating display layouts using fieldgroups

The Field group module supports other options besides collapsible fieldsets. These include vertical tabs, horizontal tabs, and accordion layouts, and can make for interesting displays. In this recipe, we will experiment with the use of horizontal tabs for our company node type.

Getting ready

We will be using the company node type created earlier in this chapter. This recipe continues from where we left off in the previous recipe which is assumed to have been completed successfully.

How to do it...

To convert the display layout for the company node type to use horizontal tabs, perform the following steps:

  1. Navigate to the manage display interface for the company node at admin/structure/types/manage/company/display ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required