R

ResSaveSort

By Thomas Jakobi (jako)


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

Thomas Jakobi


New in ResSaveSort 1.0.3

  • Bugfox for invalid resource variable

More

Information

Released
January 7, 2017
Supported Versions
2.2 – Current
Downloads
2,087
License
GPLv2

More from Thomas Jakobi

P
PDFResource

Convert MODX resources to PDF files using mPDF

View
Crosslinks

Add Crosslinks to your site

View
A
AjaxUpload

Upload files with AJAX and handle them with FormIt

View
SuperBoxSelect

Advanced 'Listbox' / 'Resource List' template…

View