Gazley Posted August 13, 2012 Share Posted August 13, 2012 Hi there, I'm starting to see groups of fields that might be optional in a template but may well make sense being included in other templates. So, re-usable field groups, if you like. After having made great use of repeaters so far, I know that as a concept, I could achieve this reusability with a repeater. However, semantically, this is wrong because the data doesn't repeat in a single template. Is there a recommended way to achieve this? Many thanks! 1 Link to comment Share on other sites More sharing options...
apeisa Posted August 13, 2012 Share Posted August 13, 2012 No, there isn't, currently at least. Never found the need myself. You can "clone" the templates and that is pretty common workflow for me. Link to comment Share on other sites More sharing options...
Gazley Posted August 13, 2012 Author Share Posted August 13, 2012 Thanks apeisa. Link to comment Share on other sites More sharing options...
MadeMyDay Posted August 13, 2012 Share Posted August 13, 2012 I like the idea of field groups, but perhaps in another approach: Grouping them in the fields overview. On more complex sites I have 30-40 fields which I group by adding prefixes to them like contact_address, contact_person and so on. But it would be nice to define a field group "contact" and sort the field there (collapsible and tabbable perhaps?). Then the possibility to clone whole groups would be ... wait for it ... legendary ;-) 3 Link to comment Share on other sites More sharing options...
porl Posted August 14, 2012 Share Posted August 14, 2012 Perhaps a more simple solution is modifying the repeater code to make the 'repeating' functionality switchable. By this I mean it would become a more general 'field group' module with the option that the fields can be repeatable (even if this is set by default). It would also be nice to have a way to hide the fields inside from the general field list to keep things tidy. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now