Make sure the resources are published and the Tpl chunk is not empty. Try adding some text of your own to the Tpl chunk to see if it's being processed at all. Make sure the "parents" you list have children.
If that doesn't help, paste your getResources tag here.
---------------------------------------------------------------------------------------------------------------
PLEASE, PLEASE specify the version of MODX you are using . . . PLEASE!
MODx info for everyone:
http://bobsguides.com/modx.html
Hello.
Same problem, getResources outputs blank, here is my ver: MODX Revolution 2.2.11-pl (traditional),
and my call: [[!getResources?
&parents=`19`
]].
The output is blank. Any help is appreciated. Thanks.
[ed. note: geryjuhasz last edited this post 10 years, 3 months ago.]
Make sure the resources (including 19) are published and not protected by any Resource Group Access ACL entries.
Also, make sure getResources is installed (look for it in the snippets section of the elements tree).
-
☆ A M B ☆
- 24,524 Posts
If you don't specify the &tpl property, which must be the name of a valid chunk, you'll just get an array with all the details of each item.
The resources also have to be showing in menus, or you need to use the &showHidden property.