How to redirect users to different pages?

Author Message

Ted Striker

Wednesday 15 September 2004 12:38:50 am

Is there anyway to redirect a user after login to a specific part of my site depending on the user level? Let's say a Registered User to a Content page and an Editor to somewhere else. How can I do that?

TIA

Can you feel it Mr. Anderson? Closing in on you? Oh I can, I really should thank you after all. It was, after all, it was your life that taught me the purpose of all life. Purpose of life is to end.

Siniša Šehović

Wednesday 15 September 2004 2:26:25 am

Well I think that it is possible to do with workflow and triggers.
But don't ask me how:)
I'm new to eZp:)

Sinisa

---
If at first you don't succeed, look in the trash for the instructions.

Paul Forsyth

Wednesday 15 September 2004 3:12:49 am

Yip, look at kernel/user/login.php. Around line 161 is the code for redirecting a user. You need to play with that, read your user details and change the redirect value accordingly.

Hope this helps

paul

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.