Discard button - Edit Forum reply

Author Message

John Smith

Thursday 03 September 2009 9:18:07 am

Hi guys,

Hope someone can help me. I am testing forums on 4.0.1. While editing my own forum reply if I click "Discard" button it is taking me to the Forum reply "Message Preview" screen.

Is there any way to redirect the user to the main screen after pressing the "Discard" button.

I want exactly like ez.no.

André R.

Friday 04 September 2009 1:00:45 am

Try adding the 'RedirectIfDiscarded' post parameter, either in the edit form, or in the from where you have edit / create new forum topic / reply.

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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

Main resources:

Total runtime0.0195 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.0057 589.3984151.2109
Module start 'layout' 0.00570.0029 740.609436.6484
Module start 'content' 0.00860.0094 777.257890.0313
Module end 'content' 0.01800.0014 867.289129.9922
Script end 0.0194  897.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002211.4066140.0002
Check MTime0.00105.2251140.0001
Mysql Total
Database connection0.00094.616510.0009
Mysqli_queries0.003518.120830.0012
Looping result0.00000.056310.0000
Template Total0.00105.210.0010
Template load0.00084.278610.0008
Template processing0.00020.884110.0002
Override
Cache load0.00052.762610.0005
General
dbfile0.003819.590380.0005
String conversion0.00000.040440.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