I've been looking for an API, but i can barely find any documentation on the <xf:> tags.
XF\Template\Templater: Here you find all available functions (see $defaultFunctions).yes i had found those myself too, is there no documentation at all on the xenforo 2 template tags? how do people know them then?AFAIK there's just this official dec documentation: -> Getting started - XenForo 2.0 Documentation
And this one for admins: -> Overview - XenForo 2 Manual (there's just a small part for templates: Styling - XenForo 2 Manual )
And from the RM:
Conditional Statements for XenForo 2
Regarding the xf-tags for the template engine, look at this class:
XF\Template\Templater: Here you find all available functions (see$defaultFunctions).
Right. A complete list of tags seems to be inStuff like xf:if (conditionals), xf:macro, xf:css, etc. is missing
XF\Template\Compiler ($defaultTags)no, there is none (at the moment). You have to look at XF2 core code and templates and put the pieces together.is there no documentation at all on the xenforo 2 template tags? how do people know them then?
We use essential cookies to make this site work, and optional cookies to enhance your experience.