Monday 19 September 2005 9:37:20 am
Try this:
{def $current_user=fetch('user','current_user')}
{if $current_user.is_logged_in}
do stuff
{else}
do other stuff
{/if}
That syntax is of course only valid if your version >= 3.6.0. For lower versions, try your familiar let block with {section show=...}. hth
Hans
http://blog.hansmelis.be
|