I want to delete an object without confirmation

Author Message

nigel dodd

Wednesday 04 January 2006 9:24:34 am

When editing an object using content/edit it is possible to eliminate the confirmation dialog which you get if you cancel the edit session by including

<input type="hidden" name="DiscardConfirm" value="0" />

in the form.

However I cannot find anything similar it you want simply to delete an object. You would then be using a content/action form with ActionRemove button. Looking at action.php there seems to be no capability to turn off the confirmation. I hope you can tell me I am wrong.

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

Main resources:

Total runtime0.0241 sec
Peak memory usage6,144.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0051 588.2656151.2266
Module start 'layout' 0.00510.0038 739.4922220.7344
Module start 'content' 0.00890.0136 960.2266993.8672
Module end 'content' 0.02250.0015 1,954.093829.9922
Script end 0.0241  1,984.0859 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.1352140.0002
Check MTime0.00114.5983140.0001
Mysql Total
Database connection0.00083.474210.0008
Mysqli_queries0.00249.956730.0008
Looping result0.00000.037610.0000
Template Total0.00114.410.0011
Template load0.00083.154610.0008
Template processing0.00031.252710.0003
Override
Cache load0.00052.133410.0005
General
dbfile0.00145.652280.0002
String conversion0.00000.170240.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