[SOLVED] protecting pages that need feu login

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
handcoded
Forum Members
Forum Members
Posts: 123
Joined: Thu Dec 06, 2007 2:26 pm

[SOLVED] protecting pages that need feu login

Post 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!
Last edited by handcoded on Fri Dec 07, 2007 9:36 am, edited 1 time in total.
handcoded
Forum Members
Forum Members
Posts: 123
Joined: Thu Dec 06, 2007 2:26 pm

Re: protecting pages that need feu login

Post 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
Pierre M.

Re: [SOLVED] protecting pages that need feu login

Post by Pierre M. »

RTFM helps again :-)

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

Pierre M.
Post Reply

Return to “CMSMS Core”