Page 1 of 1

Re: Problemer med conditional tags

Posted: Mon Feb 13, 2012 10:18 am
by webform
Prøv med:

Code: Select all

{if $topbillede ne ''}
    <div id="photo_box_content">
        {$smarty.capture.topbillede}
    </div>
    <div id="photo_box_shadow">
    &nbsp;
    </div>
{/if}
eller

Code: Select all

{if $topbillede != ''}
    <div id="photo_box_content">
        {$smarty.capture.topbillede}
    </div>
    <div id="photo_box_shadow">
    &nbsp;
    </div>
{/if}