Package: collective.sortmyfolder
NoteAlternative productThis product is mainly deprecated. Think about switching towildcard.foldercontents, that is part on Plone 5.ContentsIntroductionWhat this product doesCan now sort a folder in reverse orderAdd “delta” criteria to the sorting mechanismAdd a nice Plone interface for global folder sortingWhat this product isn’tDependenciesCreditsAuthorsChangelog1.0.7 (2014-04-08)1.0.6 (2013-09-05)1.0.5 (2012-11-13)1.0.4 (2012-11-13)1.0.3 (2012-10-14)1.0.2 (2011-11-14)1.0.1 (2011-04-20)1.0.0 (2011-04-06)0.2.0 (2011-01-07)0.1.0 (2010-12-02)IntroductionThere’s a piece of software that make possible sorting items in Plone, and it contains hidden additional features.
Normally, when you call a sort action in Plone, you call a URL like this:http://myhost/myfolder/folder_position?position=up&id=content_id… 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 at the moment for performing actions like this:http://myhost/myfolder/folder_position?position=ordered&id=fieldnameBut this feature is inside Plone: in this way you will sort a folder automatically, using a field value for comparison
(liketitle, orcreated).What this product doesThis product adds to Plone some of the features that follow.Can now sort a folder in reverse orderYou can call an URL like this:http://myhost/myfolder/folder_position?position=ordered&id=created&reverse=1and this will sort the folder using reverse criteria.Add “delta” criteria to the sorting mechanismYou can call:http://myhost/myfolder/folder_position?position=up&id=content_id&delta=4and this will move the content down by 4 slots instead of the default 1 (this feature is not so useful if you use Plone KSS/jQuery/Javascript
sorting).Add a nice Plone interface for global folder sortingYour “Action” menu will be populated with a new entry: “Sort folder”. This will present the user a Plone form where
he can perform common sorting operations.The last option makes it possible for users to specify a custom
attribute that’s not in the list.  It is hidden by default and is
shown by Javascript as it needs some Javascript to work anyway.  If
you don’t like this option, just add a CSS rules which hides thechoice_custom_fieldelement.What this product isn’tThis product only reveals features that are already in Plone (inside theorderObjectsmethod).
It will not add new sorting behaviour.DependenciesTesting for collective.sortmyfolder has been done on:Plone 3.3Plone 4.2Plone 4.3Note that on Plone 4, reverse sorting on the position does not work.
Work is under way to fix this.  It needs changes in bothcollective.sortmyfolderand the coreplone.folderpackage.CreditsDeveloped with the support ofS. Anna Hospital, FerraraS. Anna Hospital supports thePloneGov initiative.AuthorsThis product was developed by RedTurtle Technology team.Changelog1.0.7 (2014-04-08)Change capitalisation of ID sort field name fromId.
[davidjb]Change action to be displayed if a default view is configured for a folder.
[davidjb]1.0.6 (2013-09-05)Add option to sort by id.
[maurits]Hide the custom field by default.  Show it with Javascript.
[maurits]Fix javascript for newer jquery versions in newer Plones, not using
thejqalias.
[maurits]1.0.5 (2012-11-13)Fixed manifest for rst files [micecchi]1.0.4 (2012-11-13)Fixed uninstall step for skin layer [micecchi]1.0.3 (2012-10-14)Moved tohttps://github.com/collective/collective.sortmyfolder[maurits]1.0.2 (2011-11-14)Set the icon_expr in actions.xml so we register the action icon in
the preferred way in Plone 4.  We keep actionicons.xml for backwards
compatibility with Plone 3.
[maurits]No longer use the plone domain for our action as portal_actions
accepts other domains too.  This means we no longer need the i18n
directory.  Added an upgrade step to switch our action to use
collective.sortmyfolder as domain.
[maurits]Added MANIFEST.in so .mo files can be included in the release
(automatically when using zest.releaser+zest.pocompile).
[maurits]Made compatible with Plone 4.1.
[maurits]1.0.1 (2011-04-20)Updated Dutch translations [fvandijk]Corrected english spelling in README.txt [fvandijk]1.0.0 (2011-04-06)added new dates sorting criteria [keul]added the field for a custom way to sort [keul]do not show the menu entry if you can’t sort the current object [keul]added some javascript for the new custom field.
Not enabled js browser will no be able to use the new feature [keul]tested also on Plone 40.2.0 (2011-01-07)fixed typo syntax error in english text [markvl]added dutch translation [markvl]0.1.0 (2010-12-02)initial release