8
0

move smarty block extensions to if-checks: content will not rendered, if module is disabled

Dieser Commit ist enthalten in:
Daniel Seifert 2014-07-01 15:27:21 +00:00
Ursprung 5e2223f9e1
Commit c8b7d7acf7
2 geänderte Dateien mit 12 neuen und 2 gelöschten Zeilen

Datei anzeigen

@ -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}]

Datei anzeigen

@ -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}]