Page 1 of 1

How to check if a FEU is logged in

Posted: Wed Sep 29, 2010 11:07 am
by shmoyko
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!

Re: How to check if a FEU is logged in

Posted: Wed Sep 29, 2010 11:35 am
by NaN
Come on.
If you really searched for it for hours you would have found at least 10 topics that mention the module CustomContent. It is even mentioned in the module help of FrontendUsers...

Re: How to check if a FEU is logged in

Posted: Wed Sep 29, 2010 11:40 am
by shmoyko
Fair enough. I guess I was just freaking out.
Thanks anyway.