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

XF 1.2 What is "Prevent template modifications from being automatically applied"?

Discussion in 'XenForo Questions and Support' started by Etchel, Sep 26, 2013.

  1. Etchel

    Etchel Member

    When editing a template. I saw this checkbox What exactly does it mean?
  2. RoldanLT

    RoldanLT Well-Known Member

  3. Amaury

    Amaury Well-Known Member

    New XenForo versions mean new code in some templates. Checking that box will make it so the updated coded isn't automatically added into said templates.
  4. Jeremy

    Jeremy XenForo Moderator Staff Member

    What Amaury said is incorrect. If you have a modified template and new code from XenForo is added into the template, the system will attempt to merge it automatically. If it can't, it will mark the template as outdated.

    That setting will prevent add-ons from applying template modifications using the built in system to share template edits.
  5. Amaury

    Amaury Well-Known Member

    Isn't that what I basically said? I may have worded it wrong.

    Thanks for the better explanation regardless.
  6. Jeremy

    Jeremy XenForo Moderator Staff Member

    No. XenForo code will be added regardless of that setting, unless there is a merge conflict.
  7. Amaury

    Amaury Well-Known Member

    Oh, I get it. Okay. Native XenForo code will be applied regardless if that's checked or not, just not code from resources.

    Thanks, Jeremy.

Share This Page