workflow event trigger

Author Message

philippe G

Tuesday 12 July 2005 7:40:19 am

Here is my question
I trying to do this with ezpublish (don't know if it's the way to do it)

I want my document to have different validation state
for example

When someone write a document
- not validate state
- corrected state
- editor validate state
- admin validate state (and then publish)

If someone can tell me how to do this

thanks

Patrick ALLAERT

Friday 12 August 2005 7:20:29 am

I am also very interested in this... Did you solved your problems ?

Patrick ALLAERT
http://www.dixite.com/
http://users.pandora.be/patrick_allaert/

Paul Borgermans

Friday 12 August 2005 10:00:11 am

Hello

A simple (but effective) solution may be just to add another attribute in the class definition. You can check this in your template along with user/group checking.

That's pseudo workflow, but may be simpler than writing a new workflow event chain for this.

-paul

eZ Publish, eZ Find, Solr expert consulting and training
http://twitter.com/paulborgermans

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 15:53:44
Script start
Timing: Jan 18 2025 15:53:44
Module start 'layout'
Timing: Jan 18 2025 15:53:44
Module start 'content'
Timing: Jan 18 2025 15:53:44
Module end 'content'
Timing: Jan 18 2025 15:53:44
Script end

Main resources:

Total runtime0.0155 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.0055 589.0234152.6250
Module start 'layout' 0.00550.0028 741.648439.4453
Module start 'content' 0.00830.0054 781.093889.3047
Module end 'content' 0.01370.0018 870.398430.3047
Script end 0.0155  900.7031 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002415.2885140.0002
Check MTime0.00116.9937140.0001
Mysql Total
Database connection0.00127.767310.0012
Mysqli_queries0.002616.740530.0009
Looping result0.00000.070810.0000
Template Total0.00159.510.0015
Template load0.00085.200310.0008
Template processing0.00074.219010.0007
Override
Cache load0.00063.633010.0006
General
dbfile0.001610.085280.0002
String conversion0.00000.032340.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