disable redirect after login for one page

Author Message

Alexandr Pilyavskiy

Monday 17 May 2010 4:04:14 am

how can i disable redirect after login if user login from "special" page ?

Geoff Bentley

Tuesday 18 May 2010 2:55:38 pm

Hi Alexandr, What version of eZ Publish are you using? Is the login form embedded in the "special" page?

Geoff Bentley

Tuesday 18 May 2010 5:03:37 pm

You will probably need to edit your user/login.tpl template and check the uri_string in the module result to see if it matches your node id, then change the hidden RedirectURI field accordingly.

Let me know if this doesn't make sense.

Alexandr Pilyavskiy

Tuesday 18 May 2010 9:32:14 pm

problem solved with javascript. This was custom page from extension and no any variables was aviable from there. But thanks for reply, i'm noobie in ez publish and i think there is a solution on ezpublish. )

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

Main resources:

Total runtime0.0149 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 589.1797152.6406
Module start 'layout' 0.00520.0026 741.820339.4766
Module start 'content' 0.00780.0051 781.296989.2734
Module end 'content' 0.01290.0019 870.570334.3047
Script end 0.0149  904.8750 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002516.8002140.0002
Check MTime0.00117.6333140.0001
Mysql Total
Database connection0.00085.312710.0008
Mysqli_queries0.002315.372130.0008
Looping result0.00000.081610.0000
Template Total0.001610.810.0016
Template load0.00095.709410.0009
Template processing0.00075.018510.0007
Override
Cache load0.00064.038110.0006
General
dbfile0.00031.864780.0000
String conversion0.00000.051240.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs