Re: {if description} in template needed - not working
Posted: Wed Jul 30, 2008 7:12 am
This is off the top of my head, but have you tried:
I haven't tried it, and there may be a better solution, but give it a try.
Code: Select all
{capture assign='hazcontent'}{description|count_characters}{/capture}
{if $hazcontent > 0}
{capture assign='hazdescription'}{description}{/capture}
{cms_module module="TruetypeText" style="slogan" text=$hazdescription}
{else}
{cms_module module="TruetypeText" style="slogan" text="default something"}
{/if}