I’m current working on my portfolio site and would like to know how to list grandchild nodes within the root directory.
My folder directory looks like:
Creative Work
-Web design
--Example project
I intend using the ’web design’ folder to contain all related projects, users will not have direct access to this folder and will view work from a combined jQuery filtered list in the ’creative work’ page. With the above requirement I need a way to list only ’example work’ and exclude the ’web design’ folder from my Ditto call.
Any help very welcome
I’ve figured it out. I included a Ditto call within my template by following the below steps;
1. I included [[Ditto?&parents=`[*id*]`&tpl=`IDCHUNCK`&noResults=``]] within the template.
2. Within IDCHUNCK I included [!Ditto?&parents=`[+id+]`&tpl=`EXAMPLEPROJECTCHUNK` &noResults=` `!]
This now lists only my child nodes and not their parent folders, all seen from the grandparent node.
Hope the above will be of help