collective.sortmyfolder 1.0.5

Reveal some not-so-hidden Plone feature for sorting your folders
  1 Screenshot
collective.sortmyfolder makes possible to sort items in Plone, which contains hidden additional features.

Normally, when you call a sort action in Plone, you call an URL like this:


... of course, KSS/jQuery stuff in recent Plone versions will hide this feature, but is still available when you disable Javascript.

The Plone UI has no way today for performing action like this:


But the feature is inside Plone: in this way you will sort a folder automatically, using a field value for comparison (like "title", or "created").

The folder_position script use internally the orderObjects API. This last method has some additional nice feature that unluckily folder_position not expone to users. But we can fix this.

What this product do

This product add to Plone some of the features that follow, patching Plone a little (see also #11317).

Can now sort a folder in reverse order

You can call URL like this:


and this will sort the folder using reverse criteria.

Add "delta" criteria to the sorting mechanism

You can call:


and this will move the content down by 4 slot instead of default 1 (this feature, if you use Plone KSS/jQuery/Javascript sorting, is not so usefull).

Add a nice Plone interface for all those features

Your "Action" menu will be populated with a new entry: "Sort folder". This will give to the user a Plone form where he can perform common sort operation.

What this product doesn't

This product only reveal feature that are already in Plone (inside the orderObjects method). It will not add new sorting behaviour.

last updated on:
November 20th, 2012, 7:31 GMT
license type:
GPL (GNU General Public License) 
developed by:
RedTurtle Technology
ROOT \ Internet \ Plone Extensions
Download Button

In a hurry? Add it to your Download Basket!

user rating



Rate it!
What's New in This Release:
  • Fixed manifest for rst files [micecchi]
read full changelog

Add your review!