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 #554
    In the 554th issue of ProcessWire Weekly we'll check out the latest core updates, introduce a couple of new third party modules, and more. Read on!
    Weekly.pw / 21 December 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