How to create workflow for content deletion?

Author Message

Stefano Bartoli

Wednesday 11 June 2008 9:10:07 am

I'm working with EZPublish 4.0.
I've already done several workflows to approve content publishing but i i've not found yet how to create a workflow when an editor delete something (like article, news or section).

I think i've to create a custom template, is it right?

Do you have any suggest on how to create it, like detailed documentation or link or anything else?

Thank you.

Björn Dieding@xrow.de

Wednesday 11 June 2008 7:26:23 pm

common problem there is no real answer to it .... this workflow trigger doesn`t exist

this means you have to hack the kernel to archive this.

Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs
Looking for hosting? http://hostingezpublish.com
-----------------------------------------------------------------------------
GMT +01:00 Hannover, Germany
Web: http://www.xrow.com/

Gaetano Giunta

Monday 18 May 2009 7:54:07 am

it is there in 4.1, only commented in ini file...

Principal Consultant International Business
Member of the Community Project Board

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 03:35:39
Script start
Timing: Jan 31 2025 03:35:39
Module start 'layout'
Timing: Jan 31 2025 03:35:39
Module start 'content'
Timing: Jan 31 2025 03:35:39
Module end 'content'
Timing: Jan 31 2025 03:35:39
Script end

Main resources:

Total runtime0.0373 sec
Peak memory usage4,096.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0089 588.3906151.2422
Module start 'layout' 0.00890.0055 739.6328220.7500
Module start 'content' 0.01440.0212 960.3828997.8672
Module end 'content' 0.03560.0017 1,958.250033.9922
Script end 0.0373  1,992.2422 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00308.0466140.0002
Check MTime0.00113.0126140.0001
Mysql Total
Database connection0.00194.999510.0019
Mysqli_queries0.00297.703930.0010
Looping result0.00000.056310.0000
Template Total0.00133.410.0013
Template load0.00092.532410.0009
Template processing0.00030.828810.0003
Override
Cache load0.00061.608910.0006
General
dbfile0.00174.680480.0002
String conversion0.00000.029440.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