Page Links

We’ve created dedicated Smarty functions for a number of links to Vanilla pages that make it easier to build your forum’s navigation.

Here’s the basic syntax, where * is the link type.

{*_link wrap="string" text="string" format="string"}

Parameters

Parameter Type Default Description
wrap string li The tag to wrap the link in.
text string varies What the text for the link should be.
format string <a href='%url' class='%class'>%text</a> Custom format to use when wrapping links. Available template variables are %url, %class, and %text

Functions

Link to the My Bookmarks page.

Link to the categories page.

Link to the current category page.

Link to the dashboard.

Link to the discussions page.

Link to the drafts page.

Link to the recent activity page.

Link to the forum root page.

Link to the home page.

Link to the inbox.

Link to the My Discussions page.

Link for showing the desktop version of the site.

Link to the session’s user profile that displays as the user’s avatar.

Link to session’s user profile. The link text is the username. Includes a notification count.

If there is a valid session, this outputs a signout link, otherwise a signin link.

If there is a valid session, this outputs a signout link, otherwise a signin link.

Link to session’s user profile. The link text is this username. Does not include a notification count.

Cloud Hosting

We believe that online communities should be intuitive, engaging and true to your brand. Vanilla allows you to create a customized community that rewards positive participation, automatically curates content and lets members drive moderation.

Learn More …