PDA

View Full Version : Template Question



retrosprite
07-23-2015, 04:27 PM
What are the files in the modules/panel folder for templates, what are they for? I noticed some templates only have a single module file yet others have up to three: panel_success_module.twig, panel_danger_module.twig, panel_primary_module.twig. I couldn't find any information about them in the Template Wiki.

Andy
07-24-2015, 11:50 AM
Hi,

Those are templates for modules that a user can select when adding/editing a module. They're split into their different module types (panel, list_panel, content etc). You can add as many or as few options/styles as you like.

Andy