Custom workflows not working

Author Message

Kent Wakely

Friday 04 April 2003 12:36:01 pm

OK. I followed the tutorial from the sdk for setting up the custom helloworld workflow -- made sure the .tpl and .php files were in the right place, created the new workflow in the admin interface and assigned the new workflow to the content-read-before trigger (also via the admin interface).

So now I should be seeing the output from the helloworldtype.php script before any page in the site loads, right?

Wrong -- pages are loading normally. No change i behaviour after I assigned the workflow to the trigger.

What am I missing here?

Thanks.

- kent

Paul Borgermans

Saturday 05 April 2003 2:58:20 am

Does this thread help you?

http://ez.no/developer/ez_publish_3/forum/setup_design/workflow

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

Kent Wakely

Saturday 05 April 2003 8:01:19 am

I'd already read that thread and tracked down the workflow.php script and had run it in order to populate the admin interface's list of available event types properly.

Running workflow.php again doesn't seem to help with getting the workflows to run on the appropriate trigger, though.

- kent

Tijs van Bakel

Wednesday 09 April 2003 7:14:11 am

I have about the same problem. Using ezPublish 3.0.1, the "Event/Hello User" does not seem to be functioning as expected.

Have you tried the "Event/Wrapping" workflow? That one works for me.

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

Main resources:

Total runtime0.8525 sec
Peak memory usage4,096.0000 KB
Database Queries62

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0123 587.9141152.6250
Module start 'layout' 0.01230.0058 740.539139.4453
Module start 'content' 0.01810.8328 779.9844573.1953
Module end 'content' 0.85090.0015 1,353.179712.1641
Script end 0.8524  1,365.3438 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00410.4834160.0003
Check MTime0.00150.1758160.0001
Mysql Total
Database connection0.00100.118610.0010
Mysqli_queries0.795293.2828620.0128
Looping result0.00090.1049600.0000
Template Total0.799393.820.3996
Template load0.00290.344020.0015
Template processing0.796393.413520.3982
Template load and register function0.00020.028910.0002
states
state_id_array0.00270.320210.0027
state_identifier_array0.00200.228720.0010
Override
Cache load0.00240.2776200.0001
Sytem overhead
Fetch class attribute can translate value0.00090.107630.0003
Fetch class attribute name0.00170.200150.0003
XML
Image XML parsing0.00070.085530.0002
class_abstraction
Instantiating content class attribute0.00000.001350.0000
General
dbfile0.00080.0916170.0000
String conversion0.00000.001740.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.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: 11
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs