How to check if a FEU is logged in
Posted: Wed Sep 29, 2010 11:07 am
Hello all,
After hours of searching and trying things out, I just can't figure it out (feeling very stupid)
How do I check if a FEU is actually logged in?
I have a page with {cms_module module=FrontEndUsers} which displays the login form. Works fine.
But I want to restrict content of the same page to logged users only.
How would I do this:
{if $user=="xxx"}
show stuff
{/if}
Many thanks!
After hours of searching and trying things out, I just can't figure it out (feeling very stupid)
How do I check if a FEU is actually logged in?
I have a page with {cms_module module=FrontEndUsers} which displays the login form. Works fine.
But I want to restrict content of the same page to logged users only.
How would I do this:
{if $user=="xxx"}
show stuff
{/if}
Many thanks!