Login redirects

Author Message

Juan Carlos Munoz

Friday 11 February 2005 8:07:36 am

Hi,

I'm trying to redirect users to specifics modules with specific variables after they login in my system, for example, I want to redirect them to some module like:
http://example/ezpublish/test?id1=1&id2=2. When someone click on that link, and then login in, the system only redirect to the module without the value of vars id1 and id2.

How can I do that?

Juan Carlos Muñoz

Łukasz Serwatka

Tuesday 01 March 2005 10:57:33 pm

Hi Juan,

You can use hidden field to setup redirecting uri.

<input type="hidden" name="RedirectURI" value={"/test/(id1)/1/(id1)/2"|ezurl} />

Then access id variable using {$view_parameters.id1} to view id1 value in templates. I hope it will help.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Bruce Morrison

Tuesday 25 October 2005 3:47:22 pm

Please ignore

My Blog: http://www.stuffandcontent.com/
Follow me on twitter: http://twitter.com/brucemorrison
Consolidated eZ Publish Feed : http://friendfeed.com/rooms/ez-publish

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