[SOLVED] protecting pages that need feu login
Posted: Thu Dec 06, 2007 3:57 pm
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!
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!