About GetIds

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

Information

Released
November 27, 2010

Supported Database
MySQL

License
GPLv2

Supported Versions
2.0 - Current

Downloads
2,958

Current releases

1.0.0-pl
View | Download
November 27, 2010
2.0 - Current