Vanilla Template tags

< 1 minute read

June 14, 2010

Vanilla Template tags

Template tags are used within your forum to display information dynamically. A template tag is code that instructs Vanilla to “do” or “get” something. For example if you write:

{searchbox}

The Search box will be displayed.

Some template tags can have values added to them.  For example, the asset tag displays blocks of information, like your discussions or the side panel.

{asset name="Content"}
{asset name="Panel"}

Some template tags can have content between them, just like a regular HTML tags. For example, the literal tag allows you to put literal content such as CSS or JavaScript in a theme if you need to.

{literal}
body {
font-family: Verdana;
}
{/literal}

Current Tags

product

Share Your Thoughts

Your email address will not be published.

Vanilla Staff

Written by Vanilla Staff

Have an Article for Vanilla's Blog?

Send us an email to [email protected] with your topic idea and we'll circle back with our publishing guidelines.

subscribe-1
Subscribe to the Community Corner Newsletter and get expert insight and analysis on how to get the most out of your online community every Friday.

    Request a Demo

    Schedule a product demo now.

    Contact Us