I need some direcitions on how to use the API to get page information. I want to create my menu builder, but I’m unable to get any information that really help me. The documentation describes a lot of functions, but there is no basic tutorial that say how to use them. If I understant the function :
getPageChildren is called like this : $modx->getPageChildren(pageId,active or not, field name);
but really, how to use it ??
I would need some directions like : usefull functions to retrieve page information, in wich code unit I should look to find some helpfull comments etc.
thanks in advance,
I’m a new modx adept, and my PHP knowledge is pretty good, but i’m a little bit lost right now
Blaise