Category Archives: Template Tags

Template Tag – link

Tag Name

link

Description

The link tag is used to simplify linking to different views in your forum. For example you can write {link path=”discussions”} inside the href HTML tag instead of the full path.

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

Values

  • dashboard/settings – links to your dashboard.
  • discussions – links to discussions, the default landing page for your forum.
  • activity – links to the activity field.
  • messages/inbox – links to your inbox.
  • profile – links to your profile page.
  • signinout – will toggle between sign in and sign out.

Example

<li><a href="{link path="dashboard/settings"}">Dashboard</a></li>

This will create a link to your dashboard inside a list element.

See full list of Template Tags

Template Tag – asset

Tag Name

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

<div id="Content">{asset name="Content"}</div>

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

See full list of Template tags