I’m currently trying to generate an archive with all the documents that are children of the parent document with ID number 25. Here’s my code:
<ul>
[[Ditto? &parents=`25` &id=`archive_en` &filter=`published,1,2` &tpl=`news_overview` &extenders=`@FILE assets/modules/yams/yams.extender.inc.php` &summarize=`5` &paginate=`1` &paginateAlwaysShowLinks=`1` &language=`english`]]
</ul>
<p id="page_nav">[+archive_en_pages+]</p>
I’ve set this archive page to uncached, because I’m also using PHX. The thing is, I only want to generate a list with unpublished documents. 3 documents are currently a child of that parent and 1 of them is unpublished. However, this filter "&filter=`published,1,2`" doesn’t seem to work! It says "documents not found". While I’m hoping to see that 1 unpublished document shows up in the archives.
I could use all the help here please!