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

Fixed Prevent template modifications from being automatically applied

Discussion in 'Resolved Bug Reports' started by TMC, Mar 10, 2016.

  1. TMC

    TMC Active Member


    I was testing out something and noticed a minor issue. If a style has "Prevent template modifications from being automatically applied" checked on some template, and then you export that style and import it back as a new style (or as child of the imported style), then the "prevent..." setting won't get applied on the imported style until you go and save the template (or template modification) again.

    To test this I created a template modification PAGE_CONTAINER which replaces title with "TEMPLATE MODIFICATION TEST"
    <title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>

    Tab with title "TEST" has the correct title as the template modification is prevented, but on the imported copy of it (test2-style), the template modification isn't prevented even tho the setting does shows up as checked automatically.

    Not sure if it's by design or not, but maybe something worth checking out.
  2. Mike

    Mike XenForo Developer Staff Member

    This is fixed now, thanks.

Share This Page