move smarty block extensions to if-checks: content will not rendered, if module is disabled
Cette révision appartient à :
Parent
5e2223f9e1
révision
c8b7d7acf7
@ -1,9 +1,14 @@
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
[{d3modcfgcheck modid="d3_googleanalytics"}]
|
||||
[{/d3modcfgcheck}]
|
||||
|
||||
[{if $mod_d3_googleanalytics}]
|
||||
[{* Content shouldn't rendered in disabled module!
|
||||
Because of this reason, it can't included in d3modcfgcheck block. *}]
|
||||
[{include file="d3ga_universal_adwordscode.tpl"}]
|
||||
|
||||
[{include file="d3ga_universal_remarketing.tpl"}]
|
||||
|
||||
[{include file="d3ga_universal_campaigncode.tpl"}]
|
||||
[{/d3modcfgcheck}]
|
||||
[{/if}]
|
@ -1,5 +1,10 @@
|
||||
[{$smarty.block.parent}]
|
||||
|
||||
[{d3modcfgcheck modid="d3_googleanalytics"}]
|
||||
[{/d3modcfgcheck}]
|
||||
|
||||
[{if $mod_d3_googleanalytics}]
|
||||
[{* Content shouldn't rendered in disabled module!
|
||||
Because of this reason, it can't included in d3modcfgcheck block. *}]
|
||||
[{include file=$sD3GATTpl}]
|
||||
[{/d3modcfgcheck}]
|
||||
[{/if}]
|
Chargement…
Référencer dans un nouveau ticket
Block a user