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.

eZ debug

Timing: Jan 19 2025 03:30:23
Script start
Timing: Jan 19 2025 03:30:23
Module start 'layout'
Timing: Jan 19 2025 03:30:23
Module start 'content'
Timing: Jan 19 2025 03:30:24
Module end 'content'
Timing: Jan 19 2025 03:30:24
Script end

Main resources:

Total runtime0.9292 sec
Peak memory usage4,096.0000 KB
Database Queries59

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 590.2813152.6250
Module start 'layout' 0.00650.0034 742.906339.4453
Module start 'content' 0.00980.9176 782.3516574.2734
Module end 'content' 0.92740.0017 1,356.625012.1797
Script end 0.9291  1,368.8047 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3559160.0002
Check MTime0.00120.1336160.0001
Mysql Total
Database connection0.00130.138610.0013
Mysqli_queries0.872193.8515590.0148
Looping result0.00080.0824570.0000
Template Total0.892896.120.4464
Template load0.00200.220420.0010
Template processing0.890795.859720.4454
Template load and register function0.00030.033010.0003
states
state_id_array0.00180.190710.0018
state_identifier_array0.00150.164820.0008
Override
Cache load0.00170.1787170.0001
Sytem overhead
Fetch class attribute can translate value0.00070.077730.0002
Fetch class attribute name0.00180.192350.0004
XML
Image XML parsing0.00130.144930.0004
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00130.1406240.0001
String conversion0.00000.000840.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 12
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs