Field collection tabs widget
Categories
Component ID
2169189
Component name
Field collection tabs widget
Component type
module
Maintenance status
Development status
Component security advisory coverage
covered
Downloads
4964
Component created
Component changed
Component body
This module provides tabular display for field collections on the entity edit form. It does this by supplying a field widget that can be selected for the field collection on the field ui.
Adding a new field collection item is possible by clicking the last tab that has a '+' text by default.
Sorting of field collections is done via dragging and dropping the tabs.
The settings of the widget are (with default values):
- Text to use on a new tab (New)
- Text to use on the 'Add a new tab' tab (+)
- Field to use for tab titles
- Text to use if the field is empty (- None -)
- Field formatter to use
Install:
- Download and enable the module
- Download the Easy Responsive Tabs to Accordion jquery plugin, rename the folder to 'erta' and place it to sites/all/libraries so that the folder sites/all/libraries/erta/js exists. Note that the newest ERTA library does not work with the module, see #2403449: Keep up with ERTA library changes.
Bonus feature:
- A media query breakpoint can be set where the tabs switch to accordion. By default this is at 768px.
Development sponsored by KYbest.
Thanks to larowlan for the inspiration from his Field Collection Tabs module!
