Personal tools

Contact Us 24/7 > 1 866.SIX FEET

Skip to content. | Skip to navigation

Home > Blog > New, Simpler Collections in Plone 4.2


New, Simpler Collections in Plone 4.2

written by nolan on Wednesday August 22, 2012

Pitchfork and shovelsPlone 4.2 has introduced a new Collection content type, which replaces the Topic content type in previous versions of Plone 4.

With the older Topic content type, users could create a collection (or canned query) of related content based on a number of criteria, such as content type, published status, creation or modification dates, author, and so on. While this was convenient, it was also somewhat cumbersome to add each of the criteria to the collection. The Topic first had to be created and saved, which would then allow the user to access a Criteria tab where they could specify their parameters. Also, criteria had to be added one at a time, without any feedback as to what content was being matched. This lead to an error prone process that required the user to jump back and forth between the editing and viewing mode to see if their criteria were correct.

With the new Collection type, the criteria are defined as search terms. These search terms served the same purpose as criteria, but are much easier to add, since the initial creation page allows users to add terms right away (see screenshot below).

Plone 4.2 New Collection Screenshot

In addition, the new creation process allows users to see a live preview of the content that matches their criteria, therefore making it possible to see what existing content will match the saved criteria. Internally, the new Collection type is relying on a new query system that will unify content queries throughout Plone.

And for users who want to have access to the older style Topic collection, the two can live side-by-side.

More information is available in the Plone 4.1 to 4.2 upgrade notes.

Posted by Gérald on Nov 24, 2013 09:50 AM
Bonjour, comment fait-on pour utiliser plusieurs critères identiques dans la même collections? Par exemple trois mots clefs différents
Posted by david on Dec 02, 2013 11:59 AM
If you want to filter on multiple keywords, you would need to add a Tag criteria to your collection. The widget for selecting which keywords to filter for allows you to select multiple items. Any object that has any of the selected tags will show up in the collection's results.
Add comment

You can add a comment by filling out the form below. Plain text formatting.


Next Steps

Select a type of support:

Contact our sales team

First name:
Last name:
Phone Number:
Fight spam:
What is + ?
Call Us 1 866.SIX FEET