Tuesday, 6 August 2013

If getResources parent is not empty display chunk

If getResources parent is not empty display chunk

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 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]]]]
Thanks

No comments:

Post a Comment