Are there any best practices or tipps of how you are working with these?
I'm building a Drupal master-installation to start all new projects from.
Since december i'm using this wonderfull zurb-foundation implementation as the base theme.
Thank you very much for your work so far!
After setting up the main website structure in page.tpl.php i'm creating individual (node-) panel layouts (using the foundation code) which i'm then connecting to individual nodes / or node-types with panelizer.
So i may come up to panel-layouts for home-, blog-, or product-nodes.
Each node-type has several (content) fields, e.g. content-left, content-right, image-1, teaser-1, etc. which can then be easily placed in the node or node-type specific panel-region by drag and drop. -This works like a charm and saved me hours.
While using this approach i'm looking for an easy way to put a Foundation-element, like an accordion, on a node and keep it maintainable by a "normal" user. As of today, i'm putting the markup-code inside the fields-body, which is not fail-safe for authors.
By writing this, i think a module that works kind of a foundation-field formatter is what i'm looking for:
E.g. you create a new (html-)text-field with n-instances and format this as "Zurb-Foundation Accordion" or "Zurb-Foundation Tabs".
Will this be the "right" approach? What are the alternatives?