We launched new forums in March 2019—
join us there
.
In a hurry for help with your website?
Get Help Now!
Back to MODX.com
Forums
Docs
Revo Issues
Blog
My Forums
Add-ons
Creating & Repurposing Content
getResources and getPage
Search
GetResources showing parent and not children
126 Posts
smcilreavy
Reply #1,
13 years, 1 month ago
Hi Guys,
Im doing a really basic Getresources call and it is only showing the container and not the child.
How can I make it not show the container at all and show all children. Any assistance appreciated.
[[!getResources? &parents=`[[*id]]` &limit=`10` &tpl=`answerSummary`]]
1 Posts
batman234
Reply #2,
6 years, 9 months ago
your call to getResource is fine. The problem is likely with your template.
If, in the template, you use [[*___]] for anything, it will pull the information from the parent resource.
Instead, use [[+____]] to pull the content from the child.