Experimental project
This is a sandbox project, which contains experimental code for developer use only.
This module adds a field formatter for a no-more tables approach to field collections. This is heavily, heavily based on the work by Tim Plunkett in field_collection_table.
This field formatter is based on a nested field collection approach to modeling table data, which is described here:
http://fourkitchens.com/blog/article/responsive-tables-field-collections-and-field-formatters
Essentially a field collection which represents a table with two text fields for variable headers and a nested field collection inside of that field collection that represents rows.
Field Group {
Field Collection for Table (1 or more / set to 1 initially) {
Header 1 - text field (provided with default heading values)
Header 2 - text field (provided with default heading values)
Field Collection for Table Data (1 or more / set to 1 initially) {
Row data 1 - text long (w/ WYSIWYG editing)
Row data 2 - text long (w/ WYSIWYG editing)
}
}
}
This approach is further described in a subsequent blog post that will be published on 9/16/2013.
Right now the theming of the admin set up of this is not super great, will work on improving this soon.
Project information
- Project categories: Site structure
- Created by thebruce on , updated