To make the implementation process faster and cleaner, you can use a lot of internal smarty plugins. Here are the most of them:
- weblancet_config
- Params:
- key
- componentType
- assign - makes the smartyfunction not output value from configuration, but to assign to specific variable
- array - makes the smartyfunction to explode the result with given character and return one-dimensional array (needs assign)
- weblancet_tools - renders the famous WebLancet administrative menu.
- weblancet_analytics - renders Google Analytics code chunk, using ID from Configuraation table (GoogleAnalyticsId/None)
- weblancet_menu - renders level2 or higher menu. Needs menu template executed (must be called after $menu->getContent() in main smarty template) and menu template configured to put higher level menus to some special GLOBALS variables (look default menu template for example)
- getUrl