Problem setting up a multiplexer workflow (disclaimer page)

Author Message

Lex 007

Friday 18 February 2005 1:40:27 am

Hi everyone,

I need to set up a license agreement (or disclaimer) before a page in the "Files" section is viewed.

First, I created a new workflow event class called "ezdisclaimer" (that displays a license text if the "I agree" button was not pressed), a new simple workflow "Disclaimer workflow" (that just calls the event) and set the trigger of "content read before" to this workflow.

The result is OK : the disclaimer is displayed on ALL pages of the website. This is normal because I didn't set up any section limitation.

Now I want section limitations : the disclaimer should be visible just on the "Files" section. So I created a new event/multiplexer in a new workflow "Disclaimer Handler" with those parameters :
- Sections : Files
- Classes to run Workflow : Any
- Users without workflow : Administrator
- Workflow to run : "Disclaimer workflow"
FInally, I set up the trigger "content read" "before" to my new Disclaimer Handler".

Unfortunatly, this doesn't work : the disclaimer is never displayed. To my surprize, I changed the parameters of my "Disclaimer Handling" to :
- Sections : Any
and the disclaimer was shown again on every page.

What is wrong in my workflow ? Please help !

Alexandre

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 20 2025 14:01:30
Script start
Timing: Jan 20 2025 14:01:30
Module start 'layout'
Timing: Jan 20 2025 14:01:30
Module start 'content'
Timing: Jan 20 2025 14:01:30
Module end 'content'
Timing: Jan 20 2025 14:01:30
Script end

Main resources:

Total runtime0.0689 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.0081 589.4141152.6563
Module start 'layout' 0.00810.0040 742.070339.5078
Module start 'content' 0.01210.0540 781.578189.3984
Module end 'content' 0.06610.0027 870.976630.3047
Script end 0.0688  901.2813 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00304.3495140.0002
Check MTime0.00111.6068140.0001
Mysql Total
Database connection0.00091.280610.0009
Mysqli_queries0.00466.735630.0015
Looping result0.00000.033610.0000
Template Total0.00213.110.0021
Template load0.00131.893410.0013
Template processing0.00081.152910.0008
Override
Cache load0.00070.991610.0007
General
dbfile0.00040.582380.0001
String conversion0.00000.013240.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