• MODX.com

    2,967 downloads

GetIds

GetIds is an extra by coroico, first released on 2010-11-27.

Package Description

A general purpose snippet to get a comma separated list of resource ids for MODx 2.0.

Include / exclude parents and/or children resources id

Usefull to define a list of ids for &parents parameter

Examples:

GetIds?  &ids=`18, c18, -c21, 34`  : include #18 and children of #18, exclude chidren of #21 but keep #34

GetIds? &ids=`p12, -p3, -1, 2`      : include all parents of #12, exclude parents of #3 but keep #2 

GetIds? &ids=`18, c18, p3, -p2`    : include #8 and children of #8, include parents of #3, exclude parent of #2

Demo site : http://revo.wangba.fr

Details

Developer(s)
coroico
Released
2010-11-27
First seen
2010-11-27
License
GPLv2
Supported databases
Minimum MODX Requirement
2.0

GetIds Releases

Vendor Signature Released on
MODX.com 1.0-pl 2010-11-27 (15 years ago)

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