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

Why are admin templates separated from regular templates?

TheBigK

Well-known member
#1
Can someone explain why are admin templates separated from the regular templates in the adminCP? Is there any fundamental difference between the two?

Thanks!
 

Chris D

XenForo developer
Staff member
#2
The main difference is there are several separate template systems. There's obviously a separation for email templates too.

Functionally, there are differences in the syntax that each support. You can use Admin form helpers in admin templates, e.g. <xen:form>, <xen:textboxunit> etc. whereas you can't use those in public templates.

In addition to that, the public templates have much more functionality. They have styling support, edit history, merging support etc.