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

Adding code to template without hooks

Discussion in 'XenForo Development Discussions' started by Arty, Jun 12, 2012.

  1. Arty

    Arty Well-Known Member

    When editing user upgrade in admin control panel, XF uses template user_upgrade_edit. I want to add more options to that page. Problem is, template user_upgrade_edit doesn't have any template hooks.

    How can I add HTML code to that template from my addon?
     
  2. ragtek

    ragtek Guest

    via search & replace on event template_post_render
     
    Chris D and Arty like this.
  3. Arty

    Arty Well-Known Member

    It works. Thank you!
     

Share This Page