• MODX.com

    3,189 downloads

CustomRequest

CustomRequest is an extra by jako, first released on 2018-07-06.

Package Description

CustomRequest is an effective routing plugin for MODX Revolution to map pretty but not found URLs to a MODX resource and set the request parameters by separating the URI path at the URI separators or by a regular expression.

As standard option the first characters of the not found URI will be compared with the alias value of each config entry. If found, this config entry is used. The alias path is stripped from the not found URI and the remaining string is used to set the request parameters.

As a second option, the alias value of a config entry could contain a valid regular expression and the not found URI will be matched with that expression. If matched, this config entry is used. The first subpattern part of the expression is stripped from the found pattern and the remaining  string is used to identify the resource where the user is forwarded to later. At least the found pattern is removed from the not found URI and the remaining string is used to set the request parameters.

For full details and some example configurations see the documentation.

This project is hosted on GitHub: https://github.com/Jako/CustomRequest

Usage/Installation Instructions

MODX Package Management.

Details

Developer(s)
jako
Released
2018-07-06
First seen
2018-07-06
License
GPLv2
Supported databases
MySQL
Minimum MODX Requirement
2.6

CustomRequest Releases

Vendor Signature Released on
MODX.com 1.3.0-pl 2018-07-06 (2 months ago)
MODX.com 1.2.6-pl 2016-06-13 (2 years ago)

We've also seen 1 unverified versions of CustomRequest in use, but don't list those as we've been unable of confirming they are official releases from an official source.