PageUseIdAsName by blue-tomato

Overrides the name field (used for url) with the page-id and hides the field from the admin GUI

PageUseIdAsName

License: MIT ProcessWire 3

This Module for ProcessWire CMS/CMF will replace your $page->name with $page->id so you have pages like http://www.your-domain.com/parent-page/3463/

Installation


  1. Execute the following command in the root directory of your ProcessWire installation:
composer require blue-tomato/page-use-id-as-name
  1. ProcessWire will detect the module and list it in the backend's Modules > Site > ProcessLogstash section. Navigate there and install it.

  2. Chose your tempaltes where the name replacement should be applied in the Module Configuration Page

Support


Please open an issue for support.

Contributing


Create a branch on your fork, add commits to your fork, and open a pull request from your fork to this repository.

To get better insights and onboard you on module implementation details just open a support issue. We'll get back to you asap.

Credits


This module is made by people from Blue Tomato. If you want to read more about our work, follow us on https://dev.to/btdev

License


Find all information about this module's license in the LICENCE.txt file.

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

Latest news

  • ProcessWire Weekly #540
    In the 540th issue of ProcessWire Weekly we'll check out the latest core updates, introduce a new third party module called Page List Custom Sort, and more. Read on!
    Weekly.pw / 14 September 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

“We were really happy to build our new portfolio website on ProcessWire! We wanted something that gave us plenty of control on the back-end, without any bloat on the front end - just a nice, easy to access API for all our content that left us free to design and build however we liked.” —Castus, web design agency in Sheffield, UK