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.periodcriterion

How to install collective.periodcriterion

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install collective.periodcriterion
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.2.0 Available View build log
0.1.0 Available View build log
Windows (64-bit)
0.2.0 Available View build log
0.1.0 Available View build log
Mac OS X (10.5+)
0.1.0
0.2.0Never BuiltWhy not?
0.1.0 Available View build log
Linux (32-bit)
0.2.0 Available View build log
0.1.0 Available View build log
Linux (64-bit)
0.2.0 Available View build log
0.1.0 Available View build log
 
License
GPL
Lastest release
version 0.2.0 on Jan 8th, 2013

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

Changelog

0.2.0 (2012-12-20)
  • Plone 4.2 compatibility for old and new Collection content type [keul]
  • More pythoninc dates generation, using DateTime native methods [keul]
  • Added a proper uninstall profile (it works only partially, and only on Plone 4.3) [keul]
  • Support for "Site Administrator" role [keul]
0.1.0 (2011-02-16)
  • first release

Subscribe to package updates

Last updated Jan 8th, 2013

Download Stats

Last month:1

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.