collective.contentrules.comingsoon
- Warning
- This product has not had a release in over 1 year and may no longer be maintained.
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.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]
Current Release
collective.contentrules.comingsoon 1.0.2
Released Apr 28, 2011 — tested with Plone 4
Easier to install under Plone 4.0
More about this release…
-
Get
collective.contentrules.comingsoon
for
all platforms
- collective.contentrules.comingsoon-1.0.2.zip
- If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.
All Releases
| Version | Released | Description | Compatibility | Licenses | Status |
|---|---|---|---|---|---|
| 1.0.2 | Apr 28, 2011 | Easier to install under Plone 4.0 More about this release… |
Plone 4
|
GPL | final |
| 1.0.1 | Apr 27, 2011 | - Avoid ComponentLookupError with Plone 4.0. [thomasdesvenain] More about this release… |
Plone 4
|
GPL | final |
| 1.0 | Apr 06, 2011 | Initial release More about this release… |
Plone 4
|
GPL | final |


"""
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 47, in call_object
Module plone.z3cform.layout, line 64, in __call__
Module plone.z3cform.layout, line 54, in update
Module plone.z3cform.fieldsets.extensible, line 59, in update
Module z3c.form.group, line 125, in update
Module z3c.form.form, line 129, in updateWidgets
Module plone.app.registry.browser.controlpanel, line 45, in getContent
Module zope.component._api, line 171, in getUtility
ComponentLookupError: (<InterfaceClass plone.registry.interfaces.IRegistry>, '')
"""
When I go to @@comingsoon-notify url at root of my website I get:
"""
Traceback (innermost last):
Module ZPublisher.Publish, line 127, in publish
Module ZPublisher.mapply, line 77, in mapply
Module ZPublisher.Publish, line 47, in call_object
Module collective.contentrules.comingsoon.notify, line 25, in notify
Module zope.component._api, line 171, in getUtility
ComponentLookupError: (<InterfaceClass plone.registry.interfaces.IRegistry>, '')
"""