MODX EXTRA

ResSaveSort

Sort MODX containers after saving resources

Creator: Thomas Jakobi (jako)

1.0.2-pl (29 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.

Since version 1.0.2 you could generate the JSON with a grid in the system setting edit window.

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

For full details and an example configuration see the documentation.

This project is hosted on GitHub: https://github.com/Jako/ResSaveSort

Information

Released
December 30, 2016
Supported Versions
2.2 – Current
Downloads
2,872
License
GPLv2

New in ResSaveSort 1.0.2

  • GPM config
  • JSON grid in system setting edit window

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