Workflow limited by subtree

Author Message

Guillaume Kulakowski

Monday 17 May 2010 9:21:09 am

Hi,

currently, I work on an eZ Publish instance with 20 websites. Every website has editor and admin groups. The admin group must validate every editors publications.

My question : is there a best way than :

  • Create1 section by website (heavy)
  • Create a workflow with 1 event approve by website

Can I create a workflow with 1 eventtype by website but limit it by subtree (and not section).

Thx

My blog : http://www.llaumgui.com (not in eZ Publish ;-))
eZC on RHEL : http://blog.famillecollet.com/pages/Config-en
eZC on Fedora : just "yum install php-channel-ezc"

Gaetano Giunta

Monday 17 May 2010 2:22:41 pm

look at ezworkflowcollection extension. There is a subtree-based mux event

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 18 2025 02:19:07
Script start
Timing: Jan 18 2025 02:19:07
Module start 'layout'
Timing: Jan 18 2025 02:19:07
Module start 'content'
Timing: Jan 18 2025 02:19:07
Module end 'content'
Timing: Jan 18 2025 02:19:07
Script end

Main resources:

Total runtime0.0177 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.0067 587.9063152.6250
Module start 'layout' 0.00670.0032 740.531339.4453
Module start 'content' 0.00990.0052 779.976689.3828
Module end 'content' 0.01510.0026 869.359430.3047
Script end 0.0177  899.6641 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.003318.4364140.0002
Check MTime0.00158.2222140.0001
Mysql Total
Database connection0.00105.414710.0010
Mysqli_queries0.003117.352430.0010
Looping result0.00000.107510.0000
Template Total0.002112.110.0021
Template load0.00115.995010.0011
Template processing0.00116.046110.0011
Override
Cache load0.00084.372410.0008
General
dbfile0.00042.157380.0000
String conversion0.00000.051040.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