Login Redirect

Author Message

John Smith

Monday 17 October 2005 2:43:15 am

Hope someone can help me.

On my website, the starting url after login is the index/default page. For some users/members, I want it to be different. Is it possible.

In other words, Is there anyway to redirect a user after login to a specific part of my site depending on the user level? How can I do that?

Any help?

cheers.

Michael D.

Monday 17 October 2005 3:04:08 am

You can use the hidden form field "RedirectURI" to achive this.

In user/login.tpl search for
<input type="hidden" name="RedirectURI" value="{$User:redirect_uri|wash}" />
and change the value parameter to what you want.

John Smith

Monday 17 October 2005 3:14:03 am

thanks for your kind reply, sorted.

Cheers.

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 04:21:39
Script start
Timing: Jan 19 2025 04:21:39
Module start 'layout'
Timing: Jan 19 2025 04:21:39
Module start 'content'
Timing: Jan 19 2025 04:21:40
Module end 'content'
Timing: Jan 19 2025 04:21:40
Script end

Main resources:

Total runtime0.6366 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0058 589.0313152.6094
Module start 'layout' 0.00580.0034 741.640639.4297
Module start 'content' 0.00920.6259 781.0703465.7969
Module end 'content' 0.63510.0014 1,246.86728.1953
Script end 0.6366  1,255.0625 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00420.6554160.0003
Check MTime0.00180.2869160.0001
Mysql Total
Database connection0.00060.090810.0006
Mysqli_queries0.591592.9154570.0104
Looping result0.00060.0870550.0000
Template Total0.603394.820.3016
Template load0.00180.283020.0009
Template processing0.601494.472320.3007
Template load and register function0.00030.042710.0003
states
state_id_array0.00110.167510.0011
state_identifier_array0.00190.300820.0010
Override
Cache load0.00140.2213160.0001
Sytem overhead
Fetch class attribute can translate value0.00060.101820.0003
Fetch class attribute name0.00170.274930.0006
XML
Image XML parsing0.00030.049820.0002
class_abstraction
Instantiating content class attribute0.00000.001930.0000
General
dbfile0.00060.0921100.0001
String conversion0.00000.001240.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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 10
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs