Fixed Prevent template modifications from being automatically applied

TMC

Active member
Hi,

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"
Code:
<title><xen:if is="{$title}">{xen:raw $title} | {$xenOptions.boardTitle}<xen:else />{$xenOptions.boardTitle}</xen:if></title>

REPLACED WITH:

<title>TEMPLATE MODIFICATION TEST</title>

test2.webp

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.
 
Back
Top Bottom