How to edit a Xenforo_Template in a Page

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

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.

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.