GetIds
getids
About
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
At a glance
MODX 3 compatibility unknown. Based on our testing and community reports where available.
- Developer coroico
- Latest release November 27, 2010 (15 years ago)
- First seen in SiteDash November 27, 2010 (15 years ago)
- License GPLv2
- MODX support 2.0 – 100.0
| Changelog | |||
|---|---|---|---|
| MODX.com |
1.0-pl |
November 27, 2010
15 years ago |
— |
|
No matching releases. |
|||
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.