MODX EXTRA

Fix Tree Sorting

Keep your resources in sequential menuindex order with no gaps

Creator: Michael Snow (snowcreative)

1.0.0-pl (16 KB) Other Versions

About Fix Tree Sorting

MODX doesn't automatically adjust menuindexes to make sure each set of children starts at 0 and proceeds sequentially. After adding new resources, moving resources into a different order, deleting resources, and duplicating resources, you can end up with menuindex sequences like 0, 1, 3, 5, 6, 10, or 6, 8, 9, 15, or even 2, 4, 6, 6, 6, 9, 12, 12. This can cause problems when fetching resources in menuindex order (if there are duplicate menuindexes) or creating a new resource (if there is a gap in the sequence, the new resource will get inserted in a gap instead of at the bottom of the list). This plugin fixes the problem by resorting the entire group of children whenever you edit and save a resource in that group, or manually drag a resource into a new order in the resource tree.

Information

Released
April 1, 2021
Supported Versions
2.0 – 2.8
Supported Database
MySQL
Downloads
30
License
GPLv2

New in Fix Tree Sorting 1.0.0

There are no release notes for this version.

More

Current Releases

1.0.0-pl
April 1, 2021
2.0 – 2.8
More

More from Michael Snow

MH

MinifyHTML

This is a very simple extra that minifies the entire HTML content…