• MODX.com

    27,852 downloads

FirstChildRedirect

FirstChildRedirect is an extra by opengeek, first released on 2020-02-07.

Package Description

Use FirstChildRedirect to redirect users to the first document in a folder (based on menuindex sort order, however configurable) when they access a folder document within MODX.If no children are found for the specified document, FirstChildRedirect will redirect users to the site start page, though this behavior can easily be modified by passing &default to the snippet with either a page ID, or one of the following: site_start,site_unavailable_page,error_page,unauthorized_page.

You can also use the &sortBy (any resource field) or &sortDir (asc or desc) parameters to specify what to sort on. Please note that it always takes the first resource.

Documented at http://rtfm.modx.com/display/ADDON/FirstChildRedirect, and source kept on Github at https://github.com/Mark-H/FirstChildRedirect

Usage/Installation Instructions

Install via Package Management.

Details

Developer(s)
opengeek
Released
2020-02-07
First seen
2020-02-07
License
GPLv2
Supported databases
Minimum MODX Requirement
2.5

FirstChildRedirect Releases

Vendor Signature Released on
MODX.com 2.4.0-pl 2020-02-07 (6 years ago)
MODX.com 2.3.1-pl 2011-12-29 (14 years ago)

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