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 #549
    In the 549th issue of ProcessWire Weekly we’re going to check out the latest core updates, highlight one older yet still very relevant third party module, and more. Read on!
    Weekly.pw / 17 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

“The end client and designer love the ease at which they can update the website. Training beyond how to log in wasn’t even necessary since ProcessWire’s default interface is straightforward.” —Jonathan Lahijani