I'm a noob in the modx world. I have a page with subpages and I using getResources to display the content of those in tabs on the parent page.
What I would like to do is only display that chunk if the parent has subpages?
So something like this, but this is obviously not right because its not working.
[[!getResources &parent:notempty=`[[$chunk]]`]]
Give this a shot, create a new snippet for this;