Antwort #45 am: 17. April 2012, 07:40:10
[/code]Mein Beispiel:
{if $smarty.const.HOME=="home"}<div id="wrap" class="contentfull">{else}<div id="wrap">{/if}
Dein Beispiel:
{if $smarty.const.IS_START==true}<div id="wrap" class="contentfull">{else}<div id="wrap">{/if}
Mit ID geht's nicht, außer du ersetzt eine bestehende ID durch deine neue (z.B. wrap). Muss dann aber halt auch im CSS berücksichtigt werden.