collective.periodcriterion

Add to Plone Collection content type the "this month" and "this year" criteria

Project Description

Introduction

This product add a two new criteria for dates inside Plone, someway similar to the "Today" ones.

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

  • show all news published this month
  • show all file modified this year
  • ... and so on.

As default Plone "today" criteria, the "this month" and "this year" values are taken automatically.

How to use

The new criteria displays a simple selection between:

  • This year
  • This month
Period of time criteria

New criteria added on Collection

Also, this product will backport the "Today" criteria added on new style collection content type to the old Archetypes based ones.

Period of time criteria (on old collections)

New criteria added on old-style Collection

Requirements

Tested with Plone 4.2 and Plone 4.3.

TODO

  • Fix tests (the few there are GMT+1 specific)
  • Right now the calculation of dates is sometimes crappy.

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

Self-Certification

[X] Internationalized

[X] Unit tests

[X] End-user documentation

[ ] Internal documentation (documentation, interfaces, etc.)

[X] Existed and maintained for at least 6 months

[X] Installs and uninstalls cleanly

[ ] Code structure follows best practice

Current Release
collective.periodcriterion 0.2.0

Released Dec 20, 2012 — tested with Plone 4.3, Plone 4.2

Upgrade to plone.app.collection
More about this release…

Download file Get collective.periodcriterion for all platforms
collective.periodcriterion-0.2.0.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
0.2.0 Dec 20, 2012 Upgrade to plone.app.collection More about this release…
Plone 4.3
Plone 4.2
GPL final
0.1.0 First release More about this release…
Plone 3
GPL beta