Hi everyone,
I’m quite new to MODx but have really been enjoying using it so far.
I’m trying to use getResources to list the resources on a site, but I can’t seem to get it to include the Containers in the output.
My getResources call is as follows:
[[!getResources<br /> &tpl=`tagResult`<br /> &includeContent=`1`<br /> &includeTVs=`1`<br /> &showHidden=`1`<br /> &limit=’20’<br /> &depth=’20’<br /> &element=`getResources`<br /> &elementClass=`modSnippet`<br /> &hideContainers=`0`<br /> &resources =`1,2,3,4`<br />]]
I’ve set hideContainers to 0, but the output still doesn’t include the containers. I’ve had a look through the Wiki entry and looked on Google for a while but I can’t seem to find an answer/solution to this.
I’d be grateful for any help!