Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

pypm install collective.contentrules.subscription

How to install collective.contentrules.subscription

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.contentrules.subscription
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
Windows (64-bit)
Mac OS X (10.5+)
Linux (32-bit)
Linux (64-bit)
0.1.0 Available View build log
Lastest release
version 0.1.0 on May 23rd, 2013

This product will add to Plone a new content rule, similar to the default "Send an email" ones, but email recipients are taken from a list of addresses that are subscribed for that rule.


We want to notify about some updated of the site, and we want to allows users to subscribe or not to these notifications automatically.

We can do this with a contentrule registered for some object creation, and use our new action to send emails.

Setting up the rule

This product provides a new rule action to connect with base Plone rules. When you create a new action, you need to fill some fields:

The e-mail subject. You can place inside this text some markers.
Sender email
The sender of the e-mail. If empty, will be automatically used the one set in portal mail settings.

The body text of the e-mail that will be sent. The text is the same for all section where the rule is activated on.

You can place inside this text some markers.

The list of markes is shown at the bottom of action's edit form.

Rule subscription

As we said previously, site managers can create some rules, and users (also anonymous users) can choose which rules subscribes to.

To do this, there is a simple form created with z3c.form that shows all available rules with our custom action.

The form is available at "http://site_url/@@notify-subscribe"


If the user is authenticated and have an email address, email field is automatically filled.

There is also an anti-spam check made with collective.z3cform.norobots.

Subscriptions overwiew

There is also an overview controlpanel for site administrators that shows all rule subscriptions and allows to remove some addresses.

This view is available from Plone controlpanel or at "http://site_url/@@contentrules-subscription-controlpanel"



  • Allow users to unsubscribe
  • Improve subscription security using some confirm machinery


This product has been tested on:

  • Plone 4.0
  • Plone 4.1
  • Plone 4.2
  • Plone 4.3


This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

System Message: WARNING/2 (<string>, line 76)

Explicit markup ends without a blank line; unexpected unindent.


0.1.0 (2013-05-10)
  • Initial release [cekk]

Subscribe to package updates

Last updated May 23rd, 2013

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.