Workflow after publish

Author Message

Francisca Hernandez

Wednesday 03 December 2003 12:37:11 am

Hi!

I want to create a workflow, in after_publish trigger:

1. Do some actions.
2. Show a template.
3. Do some actions.
4. Redirect.

but edit.php ignore (EZ_WORKFLOW_TYPE_STATUS_REDIRECT and EZ_WORKFLOW_TYPE_STATUS_TEMPLATE) workflow status.
The script view.php controle this status.
There is some reason for which view.php it has it in bill and edit.php not?
There is some way of doing what I want in the trigger after_publish?

thx.

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 01:17:55
Script start
Timing: Jan 31 2025 01:17:55
Module start 'layout'
Timing: Jan 31 2025 01:17:55
Module start 'content'
Timing: Jan 31 2025 01:17:56
Module end 'content'
Timing: Jan 31 2025 01:17:56
Script end

Main resources:

Total runtime1.1370 sec
Peak memory usage8,192.0000 KB
Database Queries46

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0059 588.1250151.2109
Module start 'layout' 0.00590.0046 739.3359220.6719
Module start 'content' 0.01061.1256 960.00784,140.0547
Module end 'content' 1.13620.0008 5,100.06257.8750
Script end 1.1370  5,107.9375 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.3153160.0002
Check MTime0.00130.1137160.0001
Mysql Total
Database connection0.00100.083610.0010
Mysqli_queries1.057993.0450460.0230
Looping result0.00040.0362440.0000
Template Total1.063093.520.5315
Template load0.00230.200120.0011
Template processing1.060893.293520.5304
Template load and register function0.00180.160110.0018
states
state_id_array0.00810.716510.0081
state_identifier_array0.00180.160920.0009
Override
Cache load0.00180.1621140.0001
Sytem overhead
Fetch class attribute can translate value0.00150.128210.0015
Fetch class attribute name0.00160.137610.0016
XML
Image XML parsing0.00010.007710.0001
class_abstraction
Instantiating content class attribute0.00000.000410.0000
General
dbfile0.00700.6113100.0007
String conversion0.00000.001040.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/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 8
 Number of unique templates used: 5

Time used to render debug report: 0.0001 secs