1. 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?

Discussion in 'XenForo Development Discussions' started by TheBigK, Apr 21, 2015.

  1. TheBigK

    TheBigK Well-Known Member

    Can someone explain why are admin templates separated from the regular templates in the adminCP? Is there any fundamental difference between the two?

  2. Chris D

    Chris D XenForo Developer Staff Member

    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.
  3. TheBigK

    TheBigK Well-Known Member



Share This Page