Problemer med conditional tags

Support på dansk for CMS Made Simple

Moderator: Silmarillion

Post Reply
webform
Power Poster
Power Poster
Posts: 458
Joined: Sat Nov 25, 2006 3:39 pm
Location: Copenhagen, Denmark

Re: Problemer med conditional tags

Post 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}
Post Reply

Return to “Danish - Dansk”