MODX EXTRA

ResSaveSort

Sort MODX containers after saving resources

Creator: Thomas Jakobi (jako)

1.0.0-pl4 (23 KB) Other Versions

About ResSaveSort

With this MODX Revolution plugin automatic sorting of MODX containers could be triggered.

The plugin uses the system setting ressavesort.sorts, that contains a JSON encoded array of sort configurations

Example: [{"sortby":"pagetitle","sortdir":"asc","sortcontainer":""}]

Each sort configuration could use the following settings:

  • sortby: Resource fields to sort the MODX container by (template variables have to be prefixed by `tv.`), defaults to pagetitle
  • sortdir: Direction to sort the MODX container by (`asc` or `desc`), defaults to asc
  • sortcontainer: ID of the MODX container that has to be sorted, defaults to the parent of the current document

Hotfixes and Bugreport on GitHub

Information

Released
June 19, 2013
Supported Versions
2.2 – Current
Downloads
2,876
License
GPLv2

New in ResSaveSort 1.0.0-pl4

  • bug fix for sort by resource field

More

Current Releases

1.0.4-pl
August 22, 2019
2.6 – Current
1.0.3-pl
January 7, 2017
2.2 – Current
More
View Deprecated Releases

More from Thomas Jakobi

SuperBoxSelect

SuperBoxSelect

Advanced Listbox/Resource List template variable

emo

emo

E-Mail Obfuscation with Javascript

CustomRequest

CustomRequest

Use friendly URLs everywhere in the frontend

Image+

Image+

Advanced Image Template Variable