Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

A rule type which is handled when an event, or any content having a start date, will begin tomorrow, or within any delay.

Project Description

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]
Release History

Release History

This version
History Node

1.2

History Node

1.1

History Node

1.0.2

History Node

1.0.1

History Node

1.0

Download Files

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
collective.contentrules.comingsoon-1.2.zip (33.4 kB) Copy SHA256 Checksum SHA256 Source Mar 27, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting