Forums / Setup & design / Creating custom Menu depending on login

Creating custom Menu depending on login

Author Message

vinit sharma

Sunday 03 August 2003 10:02:48 am

I have an application where i have logged in user and guest user . The logged in user must access his personal menu .while the guest user must no view these links (my info) in menu . Any guide dudes and gals to this approach.

Bjørn Kaarstein

Monday 04 August 2003 3:56:49 am

You can try to assign the personal area to it's own section, and then give rights to the specified users for viewing that section.

In that way, your guest user won't be able to see the menus.

I have run into a problem when it comes to redirect on login, but sadly I have found no good solution to this problem. I had to give the redirectUri a static value, which lead to one extra click for the user. If anyone has a good solution to this, I'd be very glad to hear about it :)

Regards Bjørn

Adri Rots

Monday 04 August 2003 10:43:33 am

Hi Vinit,

If you want to show something when a user is logged in you can use this code:

{section show=$thisuser.is_logged_in}
whatever you want to show
{/section}

Regards Adri