Template Tag – asset

< 1 minute read

June 15, 2010

Template Tag – asset

asset

Description

The asset tag is used to display blocks of information, like your discussions or the side panel.

*NOTE: This tag must have a value associated with it in order function correctly

Usage

{asset name="$value"}

Values

  • Head – Displays Head data between the <head></head> HTML tags.
  • Content – Displays Discussion data.
  • Panel – Displays Panel data. For example; Categories, Bookmarked Discussions, Start New Discussion Button.
  • Foot – Loads functions hidden scripts tags and other custom code in order for Vanilla to function correctly.

Example

&lt;div id="Content"&gt;{asset name="Content"}&lt;/div&gt;

This will display all your discussion data inside a div called Content.

See full list of Template tags

product

Share Your Thoughts

Your email address will not be published. Required fields are marked *

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.
[contact-form-7 id="5700" title="Newsletter Form"]

Request a Demo

Schedule a product demo now.

Contact Us