Template Tag – link

< 1 minute read

June 15, 2010

Template Tag – link

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

&lt;li&gt;&lt;a href="{link path="dashboard/settings"}"&gt;Dashboard&lt;/a&gt;&lt;/li&gt;

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

See full list of Template 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