In a recent project I’m developing the content types contain 20 or 30 fields at times. By default Drupal simply lays out all the fields you add to a Content Type in 1 single looooong list. For many clients, and with large content types, this default behavior can become unwieldy. Having used the module before for laying out other pieces of a website I recalled the Field Group module could be used to customize the Edit Pages used when adding or editing Drupal content. So I wanted to take groups of my fields that are related and add them to (vertical) tabs on the edit page. For example all my media fields, or all the fields I’m referring to as metadata fields for the content type.
The content type of my project is defined as follows. The field_group module simply allows you to add a new field to your content type that allows you to group (or nest) existing fields somehow. This field is used solely for display purposes either in the Edit or Add New pages of a piece of content, or if you the Display Suite module you can group entered value(s) of your content type into a Table or a Background Image for example.
Out of the box the field group module supports the following groupings of other fields within your content type: Fieldsets, Horizontal tabs, Vertical tabs, Accordions, Divs, Multipage steps (note:only client side), HTML5 elements, Html elements.
As you can see in the above image my content type has 4 fields with a fieldname with the pattern group_*, and under each grouping there are numerous fields. This way the Edit page for the content type doesn’t (necessarily) show these fields listed out every time the page is viewed.
So after applying our field group settings to create vertical tabs we end up with this much more managable Edit screen:
Hopefully you’ve seen how useful the Field Group module can be in this instance, and a few of it’s shortcomings unless you have a developer around to write some custom code for you.
Looking for quality web hosting? Look no further than Arvixe Web Hosting!