2.4. Template Tags
PivotX uses Smarty for its template engine. So if you'd like to get deeper into the PivotX templates, it's suggested that you familiarize yourself with Smarty. Get the documentation here:
http://www.smarty.net/manual/en/ (especially the For Template Designers part is relevant)
Everything that works with Smarty will work in PivotX templates. Just keep in mind that we use different delimiters, so you should use [[tag]] instead of {tag}.
Currently there's only a single page documenting some of the new tags that were introduced in PivotX 2.0. Later this page will contain all information on how to write, edit and organize your templates.
Template Tags
As mentioned on above, PivotX uses Smarty as the template language. This means that there are two type of tags - functions and blocks.
Functions - template tags that accept (optional) parameters controlling the output of the tag1 . The general syntax is
[[tag_name para_name1="some value" para_name2="some value" ...]]
Blocks - template tags that come in pairs, an opening and closing tag, defining a block. The content of the block is passed to the template tag. The opening tag can take optional parameters. The general syntax is
[[tag_name para_name1="some value" ...]]
Some text
Some text
Some text
[[/tag_name]]
All of the tags are described in detail in Appendix B: List of Template Tags.
1 This is similar to the tags that were used in Pivot.
