PageListCustomSort by EPRC

Enables the use of a custom sort setting for children, using multiple properties

PageListCustomSort

This module enables the use of a custom sort setting for children, using multiple properties.

Screenshot 2024-09-13 at 15 40 17

Modules directory: https://processwire.com/modules/page-list-custom-sort/

Support forum: https://processwire.com/talk/topic/30410-pagelist-custom-sort/

About


This module is similar to ProcessPageListMultipleSorting by David Karich but is closer to what could (should?) be in the core as it adds the custom sort setting in both the template’s “Family” tab and in the page’s “Children” tab (when applicable).

Usage


Once a custom sort is set, it is applied in the page list but also when calling $page->children() or $page->siblings().

You can also apply the custom sort when calling $page->find("sort=_custom") or $pages->find("parent_id|has_parent=$id,sort=_custom"). Unfortunately this won’t work the same way sort=sort does if you only specify the template in your selector.

Install and use modules at your own risk. Always have a site and database backup before installing new modules.

Latest news

  • ProcessWire Weekly #548
    In the 548th issue of ProcessWire Weekly we're going to check out a couple of new third party modules, introduce the latest ProcessWire core updates, and more. Read on!
    Weekly.pw / 9 November 2024
  • Custom Fields Module
    This week we look at a new ProFields module named Custom Fields. This module provides a way to rapidly build out ProcessWire fields that contain any number of subfields/properties within them.
    Blog / 30 August 2024
  • Subscribe to weekly ProcessWire news

“…building with ProcessWire was a breeze, I really love all the flexibility the system provides. I can’t imagine using any other CMS in the future.” —Thomas Aull