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.

Download
ActivePython
INSTALL>
pypm install collective.contentrules.comingsoon

How to install collective.contentrules.comingsoon

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.contentrules.comingsoon
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
1.0.2
1.2Never BuiltWhy not?
1.0.2 Available View build log
1.0.1 Available View build log
1.0 Available View build log
Windows (64-bit)
1.0.2
1.2Never BuiltWhy not?
1.0.2 Available View build log
1.0.1 Available View build log
1.0 Available View build log
Mac OS X (10.5+)
1.0.2
1.2Never BuiltWhy not?
1.0.2 Available View build log
1.0.1 Available View build log
1.0 Available View build log
Linux (32-bit)
1.2 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
1.0 Available View build log
Linux (64-bit)
1.2 Available View build log
1.0.2 Available View build log
1.0.1 Available View build log
1.0 Available View build log
 
License
GPL
Lastest release
version 1.2 on Apr 3rd, 2013

Introduction

This module adds a new rule type to Plone content rules system which is handled when a Plone event, or any content having a start date, will begin tomorrow, or within any delay.

First, add collective.contentrules.comingsoon package to the 'eggs' parameter of your buildout, or in the dependencies of your policy product, and restart your buildout.

Then you have to create a cron that calls once a day '@@comingsoon-notify' view on site root, using a wget for example. (http://localhost:port/my/site/@@cominsoon-notify).

You may use z3c.recipe.usercrontab recipe that manages cron tasks from buildout: http://pypi.python.org/pypi/z3c.recipe.usercrontab/

Then, you can add 'Coming soon' rules to your content rules. Those rules will be handled on each event content whose start date is among a defined delay.

The notification delay can be set on 'Coming soon' configuration page. The default delay is one day.

Changelog

1.2 (2013-03-27)
  • It is now possible to use per content type delays ! [cedricmessiant]
1.1 (2012-12-21)
  • index is now a view parameter (for example, for expirationDate : @@comingsoon-notify?index=expires) [cedricmessiant]
  • Update buildout [cedricmessiant]
1.0.2 (2011-04-28)
  • Add buildout & bootstrap. [toutpt]
  • Add dependency of plone.app.registry in default profile and upgrade step. [toutpt]
1.0.1 (2011-04-27)
  • Avoid ComponentLookupError with Plone 4.0. [thomasdesvenain]
1.0 (2011-04-06)
  • Initial release. [thomasdesvenain]

Subscribe to package updates

Last updated Apr 3rd, 2013

Download Stats

Last month:2

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.