I'm looking to use the {if} statement. I have an address field $address, and only want to show the address on the page if it is filled in. Presumably I'll do this with if and else statements but need more detail.
this is the code
<a href="{$ADDRESS|escape|trim}" title="{$ADDRESS|escape|trim}">{$CACHE_TITLE|escape|trim}</a>
how do i get the code to do If address field is empty, then else display "No address"
thanks
this is the code
<a href="{$ADDRESS|escape|trim}" title="{$ADDRESS|escape|trim}">{$CACHE_TITLE|escape|trim}</a>
how do i get the code to do If address field is empty, then else display "No address"
thanks