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

How to modify template modifications during install?

Discussion in 'XenForo Development Discussions' started by Liam W, Mar 8, 2014.

  1. Liam W

    Liam W Well-Known Member

    I need to use two different template modifications, due to changes in the relevant template in 1.3.

    How would I go about doing this at addon install? I would want to have them both disabled, and then enable the correct one during install.

    Is this possible? I see the SimpleXMLElement object gets passed to the install function - can I modify the data in this, and will it stick?

    Liam
     
  2. Liam W

    Liam W Well-Known Member

    Ok, having a quick read of the documentation, changes will stick when made to the Object items...

    Sorry for the thread ;)

    Liam
     

Share This Page