Redirect After Delete

Author Message

Colin Igloo

Monday 28 January 2008 12:49:35 pm

Hi. Is there a way to redirect after removing an object, equivalent to RedirectURIAfterPublish?

I can easily redirect somewhere after publishing an object by adding

<input type="hidden" name="RedirectURIAfterPublish" value={"/somewhere"|ezurl} />

to the form. But how do I redirect somewhere after removing an object?

Thanks
Colin.

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 01:20:40
Script start
Timing: Jan 31 2025 01:20:40
Module start 'layout'
Timing: Jan 31 2025 01:20:40
Module start 'content'
Timing: Jan 31 2025 01:20:41
Module end 'content'
Timing: Jan 31 2025 01:20:41
Script end

Main resources:

Total runtime0.9413 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 588.1250151.2109
Module start 'layout' 0.00550.0043 739.3359220.6719
Module start 'content' 0.00980.9306 960.00784,138.0547
Module end 'content' 0.94040.0008 5,098.06257.8750
Script end 0.9412  5,105.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00380.4015160.0002
Check MTime0.00140.1459160.0001
Mysql Total
Database connection0.00070.079110.0007
Mysqli_queries0.863591.7346460.0188
Looping result0.00040.0411440.0000
Template Total0.887694.320.4438
Template load0.00220.231920.0011
Template processing0.885494.067220.4427
Template load and register function0.00150.160810.0015
states
state_id_array0.00150.163610.0015
state_identifier_array0.00120.130820.0006
Override
Cache load0.00170.182190.0002
Sytem overhead
Fetch class attribute can translate value0.00250.260810.0025
Fetch class attribute name0.00200.210710.0020
XML
Image XML parsing0.00020.018710.0002
class_abstraction
Instantiating content class attribute0.00000.000510.0000
General
dbfile0.00150.1583100.0001
String conversion0.00000.001140.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
1content/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
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: 6
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs