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

How to edit a Xenforo_Template in a Page

Discussion in 'XenForo Development Discussions' started by Lu Jia, Sep 25, 2012.

  1. Lu Jia

    Lu Jia Active Member

    Hi all,
    I want to know if there's a way to edit a xenforo's template
    Like in backend in a custom page.
    Thanks in advance
  2. Jeremy P

    Jeremy P Well-Known Member

    Not entirely sure what you're asking but don't edit templates in the master style unless you created them for an addon.
  3. Lu Jia

    Lu Jia Active Member

    I need to edit some custom template (created for my addons) in a custom page. I just want to give to someone without admin permission the right to edit the template.
  4. Jeremy P

    Jeremy P Well-Known Member

    Oh, you'd technically have to create an addon to allow non-admins to edit templates you specify.

    If you do this...
    • library/XenForo/ControllerAdmin/Template.php
    • library/XenForo/ControllerAdmin/StyleAbstract.php
    ...are good places to start. Good luck.

Share This Page