Path

exponential.earth / exponential / documentation / building an ez publish site / the guestbook / implementing an approval mechanism


Implementing an approval mechanism

These documentation pages are no longer maintained. Please visit the new documentation site.

The guestbook that we've created so far allows anonymous people to "publish" arbitrary information on the TSCM website. Sometimes this is a good idea, sometimes it is not. A classic example is that malicious people misuse such functionality to post tasteless and/or offensive text. To prevent this problem, we could make use of some sort of a mechanism that ensures the approval of content before it is published. eZ publish provides a built-in workflow system that is designed to deliver such functionality (and a lot more). Please note that the workflow system is huge and complex. In this part of the tutorial, we will only use it to create a simple workflow for the purpose of demonstration and learning. However, I'm sure that you'll quickly understand and discover the wonderful possibilities of the eZ publish workflow engine.

Comments

Contents

Building an eZ publish site

Prerequisits
Situation
Creating the TSCM site
Testing the interfaces
Setting up the main layout
Creating sections
The welcome page
The news page
The members page
The guestbook
    Creating the content class
    Adding content
    Creating the template
    Adding an action button
    Making the button work
    The input template
    Testing the guestbook
    Implementing an approval mechanism
    Modifying the entry page
    Creating a workflow
    Connecting the workflow to a trigger...
    Approving entries
    The "runcronjob" script
The links page


Created

20/11/2003
11:38:24 am
by Balazs Halasy

Last updated

20/01/2004
1:47:25 pm
by Balazs Halasy

Authors

Balazs Halasy



This page is part of the eZ Publish documentation. The documentation is available under the GNU Free Documentation License. All contributions will be released under the terms of this license.