Smarty {if} statement to check if user is logged in

Hi guys, i cant seem to find a documentation, if i put a smarty code inside the .tpl template, what's the syntax of doing so?

example:

**inside default.master.tpl i'd like to have something visitors(not logged in users) to see

{if not $User="loggedin"}
<show this to the logged in >
{/if}

Comments

Sign In or Register to comment.