Directly publish after validation

Author Message

Damien MARTIN

Thursday 01 April 2010 5:59:23 am

Hi there,

I would like to know if it is possible to skip the workflow process to allow contents to be published directly after being validated.

Contents are validated using a standard worflow process. So, for the moment, contents are waiting for approval after their creation. The workflow is running via runcronjobs.php, going in "my account" for approval, next, it is approved and waits for the cronjob to be executed to finaly be published.

But it is too long...

1min is too long...

So, can I skip the process after validation to publish directly ?

Thanks,

Damien

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 01:03:59
Script start
Timing: Jan 18 2025 01:03:59
Module start 'layout'
Timing: Jan 18 2025 01:03:59
Module start 'content'
Timing: Jan 18 2025 01:04:00
Module end 'content'
Timing: Jan 18 2025 01:04:00
Script end

Main resources:

Total runtime0.7525 sec
Peak memory usage4,096.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0045 590.8828152.6250
Module start 'layout' 0.00450.0029 743.507839.4453
Module start 'content' 0.00740.7436 782.9531431.7422
Module end 'content' 0.75100.0015 1,214.69538.1563
Script end 0.7525  1,222.8516 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00300.3926160.0002
Check MTime0.00120.1588160.0001
Mysql Total
Database connection0.00070.091110.0007
Mysqli_queries0.716895.2523460.0156
Looping result0.00040.0489440.0000
Template Total0.726196.520.3630
Template load0.00180.235720.0009
Template processing0.724396.244720.3621
Template load and register function0.00010.010410.0001
states
state_id_array0.00080.100710.0008
state_identifier_array0.00120.153820.0006
Override
Cache load0.00140.1837120.0001
Sytem overhead
Fetch class attribute can translate value0.00050.065410.0005
Fetch class attribute name0.00070.097820.0004
XML
Image XML parsing0.00030.044610.0003
class_abstraction
Instantiating content class attribute0.00000.000620.0000
General
dbfile0.00110.1500160.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
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
1content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 5
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs