• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

xenForo $var list

#1
Is there a list of the available variables in xenForo?

To be more specific, I am looking for something like this:

<p>Copyright &copy; {$currentYear} SiteName</p>

Where, {$currentYear} will output the current year.
 

NixFifty

Well-known member
#4
On every template, you can access {$visitor} for information about the currently viewing user. You can also use {xenOptions} to get ACP options.

Anything else is passed to templates from controllers on a per-template basis.