Forums / Setup & design / Disclaimer handling

Disclaimer handling

Author Message

Milos Rackov

Wednesday 11 August 2004 2:10:32 am

Is there a way in eZ Publisher, either using workflows, or just by using straight group membership to force a disclaimer page on certain groups of users before accessing certain pages.

Example:
If someone has registered from country XY and wants to access a page with financial information, she gets the disclaimer. If the user is from any other country, she can proceed directly to the requested page.

Paul Forsyth

Wednesday 11 August 2004 2:24:41 am

Yes. For this you need to use the trigger content/publish/after which will allow you to, in php, write a workflow event to handle this case.

When the workflow fires you can examing the content object, test if its the one you want first and then examine the country of the user and show a template.

have a look at the workflow docs and come back to this thread if you have problems.

paul

--
http://www.visionwt.com