I am trying to use getResources
to build the main navigation for my site. How do I tell getResources
to start at the current context and look at all resources immediately under the current context?
I see I can specify the following parameters;
I have set parents to 0
and that doesn't work. I don't know the resource id
for the context so I cannot specify it for the resources parameter.
Can't I do what I want with getResources
? What am I missing?
Build navigation on http://rtfm.modx.com/display/ADDON/Wayfinder he has a parameters to work with contexts.