Weblancet
Simplicity
We designed WebLancet to be as easy as possible to use. More
Scalability
WebLancet is designed to be scalable and extendable beyond the limits of imagination. More
Open source
WebLancet meets demand best as it is driven by community. More
This page will briefly describe most commonly used inner smarty components
This page will briefly describe most commonly used inner smarty components
2009 05 03 19:54:47
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