You are here

README.txt in Bootstrap fieldgroup 7

## Bootstrap fieldgroup

This module adds a new set of formatters to the Field Group options when
configuring a view mode display, to render field groups with Bootstrap markup.

The formatters can be applied to the node create/edit form, as well as on
display.

### Usage

The most interesting formatter is 'Bootstrap nav', which handles most of the
heavy lifting of rendering the Bootstrap markup.

#### Single field per tab

Fields can be nested directly under the 'Bootstrap nav' group, and each field
will receive its own tab/pill.

e.g.

Main Container (Bootstrap nav)
 - Field 1
 - Field 2
 - Field 3
 - Field 4

#### Multiple fields per tab

If you need to organize more than one field under each tab/pill, you can nest
a 'Bootstrap nav item' group, and then organize your fields under these.

e.g.

Main Container (Bootstrap nav)
 - Group Container 1 (Bootstrap nav item)
   - Field 1
   - Field 2
 - Group Container 2 (Bootstrap nav item)
   - Field 3
   - Field 4

### Configuration

#### Nav type

Specify either 'Tabs' or 'Pills'

#### Stacked

Whether the tabs will be stacked vertically. The default is No; they will be
horizontal.

#### Orientation

The orientation of the nav in relation to the content. Specify either 'Top',
'Right', 'Down', 'Left'.

**NOTE:** For pills, you may only specify 'Top', or 'Bottom'. Bootstrap only
seems to support left/right orientation for tabs. 

File

README.txt
View source
  1. ## Bootstrap fieldgroup
  2. This module adds a new set of formatters to the Field Group options when
  3. configuring a view mode display, to render field groups with Bootstrap markup.
  4. The formatters can be applied to the node create/edit form, as well as on
  5. display.
  6. ### Usage
  7. The most interesting formatter is 'Bootstrap nav', which handles most of the
  8. heavy lifting of rendering the Bootstrap markup.
  9. #### Single field per tab
  10. Fields can be nested directly under the 'Bootstrap nav' group, and each field
  11. will receive its own tab/pill.
  12. e.g.
  13. Main Container (Bootstrap nav)
  14. - Field 1
  15. - Field 2
  16. - Field 3
  17. - Field 4
  18. #### Multiple fields per tab
  19. If you need to organize more than one field under each tab/pill, you can nest
  20. a 'Bootstrap nav item' group, and then organize your fields under these.
  21. e.g.
  22. Main Container (Bootstrap nav)
  23. - Group Container 1 (Bootstrap nav item)
  24. - Field 1
  25. - Field 2
  26. - Group Container 2 (Bootstrap nav item)
  27. - Field 3
  28. - Field 4
  29. ### Configuration
  30. #### Nav type
  31. Specify either 'Tabs' or 'Pills'
  32. #### Stacked
  33. Whether the tabs will be stacked vertically. The default is No; they will be
  34. horizontal.
  35. #### Orientation
  36. The orientation of the nav in relation to the content. Specify either 'Top',
  37. 'Right', 'Down', 'Left'.
  38. **NOTE:** For pills, you may only specify 'Top', or 'Bottom'. Bootstrap only
  39. seems to support left/right orientation for tabs.