Skip to main content

Additional date criterion for Plone collections, that add concepts of

Project description

Introduction

This product add a new criteria for dates inside Plone, someway similar to the “Relative date” ones, but beeing able to perform some impossible search if using standard date criteria.

What you can’t do with the default Plone relative criteria is configure a Collection that:

  • show all events that begin today

  • show all news published this month

  • show all file modified this year

  • … and so on.

The today, this month and this year values change automatically.

How to use

The new criteria displays a simple selection between:

  • Today

  • This year

  • This month

Period of time criteria

Where those values are relative to the current date.

Going back to first example of the previous section: at 12:55 PM of January 21 I will see an event that starts at 8 AM of January 21. As soon as I visit the Collection again at midnight of January 22 I will no see the event again, but automatically begin to see all events that starts January 22

Requirements

Tested with Plone 3.3.

TODO

  • More tests (the few there are GMT+1 specific)

  • Right now the calculation of dates is crappy. Think about replace the DateTime use with standard datetime module. Are Collection still working with datetime?

  • Adding Plone 4 compatibility

  • Translations issues (I fear will be worst when using on Plone 4)

Credits

Developed with the support of Azienda USL Ferrara; Azienda USL Ferrara supports the PloneGov initiative.

Azienda USL's logo

Authors

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site

Changelog

0.1.0 (2011-02-16)

  • first release

Project details


Download files

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

Source Distribution

collective.periodcriterion-0.1.0.tar.gz (15.6 kB view details)

Uploaded Source

File details

Details for the file collective.periodcriterion-0.1.0.tar.gz.

File metadata

File hashes

Hashes for collective.periodcriterion-0.1.0.tar.gz
Algorithm Hash digest
SHA256 00e855ef1138b5daaa3ff6d60d0defd4e72103b9ee99d76c3ed9823b4dfb8567
MD5 ec054f2136ff8f039b96797a3149b48f
BLAKE2b-256 4258b7adafd8c8006f19a4a1f7d8ea61fa37c34f8b5546815294177858a8eab3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page