Skip to content

macagua/collective.periodcriterion

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

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

Tested with Plone 4.2 and Plone 4.3.

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

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

Azienda USL's logo

This product was developed by RedTurtle Technology team.

RedTurtle Technology Site