Content remove workflow

Author Message

Fabien Mas

Tuesday 15 September 2009 5:40:03 am

Hi,
I would like to perform my own actions when an object is removed.
I found this extension :http://ez.no/developer/contribs/hacks/content_remove_workflow
but it's quite old and there is a hack inside

Is there another way to proceed in ezp 4.x ?

Thx
Fabien

Ɓukasz Serwatka

Tuesday 15 September 2009 6:30:01 am

Hacks are not needed any more. You can uncomment bunch of useful triggers in the workflow.ini.[OperationSettings]. Of course you will still need a custom workflow event hooked to content-delete.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Fabien Mas

Tuesday 15 September 2009 6:56:57 am

Hi Luksaz,
it helps thanks !

It seems to be only available from the 4.1x version of ez

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 11:32:48
Script start
Timing: Jan 18 2025 11:32:48
Module start 'layout'
Timing: Jan 18 2025 11:32:48
Module start 'content'
Timing: Jan 18 2025 11:32:49
Module end 'content'
Timing: Jan 18 2025 11:32:49
Script end

Main resources:

Total runtime0.9697 sec
Peak memory usage4,096.0000 KB
Database Queries57

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 587.9063152.6250
Module start 'layout' 0.00730.0043 740.531339.4453
Module start 'content' 0.01170.9563 779.9766534.5391
Module end 'content' 0.96800.0017 1,314.51568.1719
Script end 0.9696  1,322.6875 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.3263160.0002
Check MTime0.00130.1390160.0001
Mysql Total
Database connection0.00080.086510.0008
Mysqli_queries0.920794.9441570.0162
Looping result0.00070.0749550.0000
Template Total0.924295.320.4621
Template load0.00200.202320.0010
Template processing0.922395.108320.4611
Template load and register function0.00020.020110.0002
states
state_id_array0.00290.301110.0029
state_identifier_array0.00140.147420.0007
Override
Cache load0.00160.1690170.0001
Sytem overhead
Fetch class attribute can translate value0.00110.109920.0005
Fetch class attribute name0.00140.140740.0003
XML
Image XML parsing0.00080.079320.0004
class_abstraction
Instantiating content class attribute0.00000.002340.0000
General
dbfile0.00090.0962180.0001
String conversion0.00000.000840.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
3content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 13
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs