Hi I am using the following call on my page:
[[!getPage@newsPaging? &elementClass=`modSnippet` &element=`getResources` &showHidden=`1` &tpl=`Animalgroup_lists` &limit=`5` &includeContent=`1` &includeTVs=`1` &processTVs=`1` &parents=`28` &depth=`1` &pageLimit=`2` &pageNavVar=`page.nav` ]]
Page [[+page]] of [[+pageCount]] [[!+page.nav]]
I want the results to show the children in resource id 28, which it does, but it also show s the children of those resources too (in affect the grandchildren of id 28). I added the &depth=`1` parameter hoping that it would only search 1 level but it still searches 2 levels. How can I stop this?
Regards,
DS
[ed. note: distant_smile last edited this post 12 years, 4 months ago.]
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk
-
☆ A M B ☆
- 24,524 Posts
Have you tried &depth=`0`?
Worked a treat, thank you once again!
www.PawsForWildlife.co.uk
www.Borntobrick.co.uk