This Ditto snippet call does the following:
Parses through all the documents that have the parent document with the ID #12 (change this to reflect the id of the parent doc you are working with).
Filters out any documents that were not created by the author with the id of 1. The format is &filter=
createdby,userID,1(not equal to).
Formats the output using the chunk "blog-post" as a template.
Displays 10 documents this way.
- [!Ditto? &parents=`12` &filter=`createdby,1,1` &tpl=`blog-post` &display=`10` !]
You need to login to post a comment.