I'm trying to get this to work PHP: if($_SESSION[_amember_user]){ print (User is logged in); }else{ print (User is not logged in); } but get Smarty error: syntax error: unrecognized tag 'print' Anyone tried this before and got it to work? Or is it something that I;m doing wrong? Thanks, Momi
Instead of print try echo " "; If you are putting the code in an amember template you may want to use just smarty to do what you need: {if $smarty.session._amember_login} Logged in {else} Not logged in {/if} David
Thanks davidm1 I'll give it a shot. By the way do you think the smarty would do an include ('')? Aloha, Momi
Here is the tag that worked for all those out there wanting to know... Code: {if $smarty.session._amember_user}User is logged in{else}User is not logged in{/if} Mahalo, Momi Thanks again, David