Page 1 of 1

[SOLVED] protecting pages that need feu login

Posted: Thu Dec 06, 2007 3:57 pm
by handcoded
Hello

I've made a login page which works fine by using the Front End Users Module.
I watched the video on the wiki and used the same code on the page that I would like to protect but this throws up an error.

The site is www.racinginvestorsclub.co.uk and the page I'm trying to protect is called useful links.
Here is the code I used

---------------------------------------------------
{if $ccuser->loggedin()}
You are currently logged in...
{else}
You must be logged in to view this page
{/if}

You can see me

---------------------------------------------------

Can anyone through any light on this error ?
I have the Custom Content module installed but do not know where I can add custom content. Maybe Ii need to know how to use that in order to get this working

The user name to login is sytemite who belongs to a group called members

Help!

Re: protecting pages that need feu login

Posted: Fri Dec 07, 2007 9:35 am
by handcoded
Got this sorted

After watching the second feu video it was obvious that I just needed to hide the menu items and that the pages did not need to check if a user was logged on because if they weren't they would not see the page

Re: [SOLVED] protecting pages that need feu login

Posted: Fri Dec 07, 2007 6:50 pm
by Pierre M.
RTFM helps again :-)

...althougth it should be now WTFV for Watch The Fantastic Videos.

Pierre M.