xenForo $var list

Radi

Member
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.
 
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.
 
Top Bottom