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
|