Views fieldsets

Installs: 
1,083
Open Bugs: 
0
Development Status: 
Seeking co-maintainer(s)
Maintenance fixes only

Creates fieldsets in Views fields output, to group fields, by adding a new field: "Global: Fieldset" and a few preprocessors. Also introduces a new template: views-fieldsets-fieldset.tpl.php where you can customize your fieldset output.

Steps

  1. Download & install
  2. Open existing view or create new
  3. Add fields
  4. Add field "Global: Fieldset" and customize settings (html tag, collapsible, tokens etc)
  5. Add more fields?
  6. Rearrange fields to drag normal fields under Fieldset fields. You can nest fieldsets.
  7. Result will be visible in Preview

Theming

There's 1 new template: views-fieldsets-fieldset.tpl.php. You can specify the filename the Views way. See Theme: Information for theme hook suggestion specifics. Availables:

  • views-fieldsets-fieldset.tpl.php
  • views-fieldsets-fieldset--events.tpl.php
  • views-fieldsets-fieldset--default.tpl.php (all tags)
  • views-fieldsets-fieldset--default.tpl.php (per tag)
  • views-fieldsets-fieldset--page.tpl.php
  • views-fieldsets-fieldset--events--page.tpl.php

And of course the related preprocessors: template_preprocess_views_fieldsets_fieldset(), template_preprocess_views_fieldsets_fieldset__events() etc.

Releases: 
7.x-1.1
Release Dates: 
02/12/2013