Page List Custom Sort

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

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.

More modules by EPRC

  • Tags to Folders

    This is a small helper tool to visually organise fields/templates into folders in the menu when they are tagged
  • QR Code

    Generates a QR Code from the public URL of the page
  • MJML to HTML

    Allows you to write your Processwire template using MJML and get a converted HTML output using MJML API.
  • Footnotes

    Adds footnotes using Markdown Extra’s syntax, minus Markdown
  • Page List Custom Sort

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

All modules by EPRC

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