Attention

This document was written for an old version of Plone, Plone 3, and was last updated 1204 days ago.

To learn how to upgrade to the current version of Plone, read the upgrade manual.

Creating Content Rule Conditions and Actions

This tutorial shows how to create a new type of condition that site administrators can use to construct Content Rules in Plone 3.

  1. Introduction What are we doing here?
  2. Creating the package First, we must create a new package to house our new condition
  3. Adding the condition Now we can add the required boilerplate, component registrations and the actual logic of the condition
  4. Adding tests Of course, we need automated tests!
  5. Testing it out That's it! It's ready to be used.

All content on one page (useful for printing, presentation mode etc.)

 

Contribute

Something wrong or out of date? Anybody can edit or create a new article in the knowledge base. Simply create an account on this site, log in, and click the Edit button to contribute.