Redirection to the parent node (or another path)

Author Message

Niko Goers

Thursday 28 June 2007 5:53:29 am

Hello,

how is it possible to redirect to the parent node of an object (or to another path)?

For example:

The URL

<b>http://www.example.com/news/ez_awards_2007</b>

should directly redirect to

<b>http://www.example.com/news</b>.

Because there is no override template for the news, all news are shown in the newsfolder (/news).

Thanks for all replies.

eZ Publish partner - http://www.all2e.com
http://share.ez.no/directory/companies/all2e-gmbh
http://ez.no/Partners/all2e-GmbH

Lords of Heaven - http://www.LoH-Gilde.de (Created with eZ Publish)
German online gaming guild

About me - http://www.NikoGoers.de

My roadmap, +1 are welcome: http://share.ez.no/community/roadmap/10889

Niko Goers

Friday 29 June 2007 2:27:50 am

This extension solved my problem:

http://ez.no/community/contribs/template_plugins/redirect_operators

eZ Publish partner - http://www.all2e.com
http://share.ez.no/directory/companies/all2e-gmbh
http://ez.no/Partners/all2e-GmbH

Lords of Heaven - http://www.LoH-Gilde.de (Created with eZ Publish)
German online gaming guild

About me - http://www.NikoGoers.de

My roadmap, +1 are welcome: http://share.ez.no/community/roadmap/10889

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 16:10:53
Script start
Timing: Jan 18 2025 16:10:53
Module start 'layout'
Timing: Jan 18 2025 16:10:53
Module start 'content'
Timing: Jan 18 2025 16:10:54
Module end 'content'
Timing: Jan 18 2025 16:10:54
Script end

Main resources:

Total runtime0.8284 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.1641152.6406
Module start 'layout' 0.00570.0024 741.804739.4922
Module start 'content' 0.00810.8192 781.2969487.4297
Module end 'content' 0.82720.0011 1,268.726612.1250
Script end 0.8283  1,280.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.4140160.0002
Check MTime0.00140.1658160.0001
Mysql Total
Database connection0.00100.116110.0010
Mysqli_queries0.783294.5520520.0151
Looping result0.00050.0564500.0000
Template Total0.793295.820.3966
Template load0.00210.255520.0011
Template processing0.791195.502320.3955
Template load and register function0.00010.010810.0001
states
state_id_array0.00270.327210.0027
state_identifier_array0.00120.148620.0006
Override
Cache load0.00180.2143170.0001
Sytem overhead
Fetch class attribute can translate value0.00080.098910.0008
Fetch class attribute name0.00160.192130.0005
XML
Image XML parsing0.00150.178710.0015
class_abstraction
Instantiating content class attribute0.00000.001140.0000
General
dbfile0.00170.2099160.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
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
2content/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: 5

Time used to render debug report: 0.0001 secs