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

Edit Template Modification - Modification Key

Discussion in 'XenForo Questions and Support' started by AndyB, Jun 20, 2013.

  1. AndyB

    AndyB Well-Known Member

    Admin CP -> Appearance -> Template Modifications

    There's a setting called "Modification Key:", what value are we suppose to put in there?
  2. Jeremy

    Jeremy XenForo Moderator Staff Member

    It needs to be a unique key to describe what it is, just like a phrase's name/key and a template name.
  3. AndyB

    AndyB Well-Known Member

    So for example if a template has two modifications, I would use 1 for the first template modification one and 2 for the second template modification.
  4. Mike

    Mike XenForo Developer Staff Member

    You can name it (roughly) whatever you like. It's primarily used with add-ons to allow a particular modification to be tracked between upgrades.
    Chris D likes this.
  5. xf_phantom

    xf_phantom Well-Known Member

    why not use real names, which are explaining what you're doing?:D
    It will be much easier to find what you're searching for if you name it "addNewsBoxToSidebar" instead of"sidebarchange1"
    Chris D likes this.

Share This Page