Redirect ?

Author Message

Nebojsa Eric

Tuesday 06 June 2006 3:21:50 am

I was wondering is it possible to redirect from one template to another using only template language? I mean something like Response.Redirect in ASP or header("Location:) in PHP.

Xavier Dutoit

Tuesday 06 June 2006 3:25:55 am

You have a contrib that does that. Redirectoperators.

X+

http://www.sydesy.com

Kristof Coomans

Tuesday 06 June 2006 3:56:49 am

You can find the extension mentioned by Xavier at http://ez.no/community/contribs/template_plugins/redirect_operators

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

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 31 2025 07:37:36
Script start
Timing: Jan 31 2025 07:37:36
Module start 'layout'
Timing: Jan 31 2025 07:37:36
Module start 'content'
Timing: Jan 31 2025 07:37:37
Module end 'content'
Timing: Jan 31 2025 07:37:37
Script end

Main resources:

Total runtime0.6975 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.0045 588.0000151.1953
Module start 'layout' 0.00450.0025 739.195336.5859
Module start 'content' 0.00700.6897 775.7813971.1719
Module end 'content' 0.69680.0007 1,746.953111.8984
Script end 0.6974  1,758.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00310.4417160.0002
Check MTime0.00130.1873160.0001
Mysql Total
Database connection0.00060.085610.0006
Mysqli_queries0.644492.3956590.0109
Looping result0.00050.0745570.0000
Template Total0.666295.520.3331
Template load0.00230.329220.0011
Template processing0.663895.181720.3319
Template load and register function0.00130.181410.0013
states
state_id_array0.00190.276010.0019
state_identifier_array0.00130.183020.0006
Override
Cache load0.00190.2748120.0002
Sytem overhead
Fetch class attribute can translate value0.00060.085030.0002
Fetch class attribute name0.00220.308460.0004
XML
Image XML parsing0.00310.446130.0010
class_abstraction
Instantiating content class attribute0.00000.001760.0000
General
dbfile0.00440.6286280.0002
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/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.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: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs