I am a total newbie to modX, so I started hacking away at a tiny snippet which uses methods I found here (
http://wiki.modxcms.com/index.php/API:getAllChildren), like getActiveChildren. The reason this method is cool is that it sorts by the menu indexes by default.
So I found out by looking here (
http://api.modxcms.com/) that all of my methods are deprecated. I need to use getChildIds instead (which doesn’t sort by menu index), and then, how do I get info about the id? getPageInfo has been deprecated as well! getDocument has also been deprecated...
So to recap, I need to getActiveChildren in a non-deprecated way, and get info about each page.
[Frustrating that all the obvious stuff is deprecated but there’s no mention of where one SHOULD look... So any help would be greatly appeciated...]