redirect auto on restricted area

Author Message

Joël LEGER

Monday 16 August 2010 8:35:18 am

hi,

i'm trying to redirect an anonymous user who try to access a restricted area.

This restricted area is under a section who only members can access.

Instead of redirect to a login page there is the access denied message.

Any ideas ?

Carlos Revillo

Monday 16 August 2010 8:50:57 am

you can do a override of error.ini file. there are some examples on that file.

http://github.com/ezsystems/ezpublish/blob/master/settings/error.ini

Joël LEGER

Monday 16 August 2010 9:00:10 am

that's it, thanks!

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

Main resources:

Total runtime1.5641 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.0078 587.9219152.6250
Module start 'layout' 0.00790.0032 740.546939.4453
Module start 'content' 0.01101.5517 779.9922464.8672
Module end 'content' 1.56280.0013 1,244.85948.1563
Script end 1.5640  1,253.0156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2165160.0002
Check MTime0.00130.0860160.0001
Mysql Total
Database connection0.00120.074410.0012
Mysqli_queries1.520397.2021570.0267
Looping result0.00070.0465550.0000
Template Total1.515996.920.7579
Template load0.00220.139220.0011
Template processing1.513796.778320.7568
Template load and register function0.00020.013510.0002
states
state_id_array0.00210.132710.0021
state_identifier_array0.00250.158920.0012
Override
Cache load0.00170.1087130.0001
Sytem overhead
Fetch class attribute can translate value0.00070.042520.0003
Fetch class attribute name0.00120.075630.0004
XML
Image XML parsing0.00020.013220.0001
class_abstraction
Instantiating content class attribute0.00000.000430.0000
General
dbfile0.00070.0437100.0001
String conversion0.00000.000640.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
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 4

Time used to render debug report: 0.0001 secs