Hi, and thanks for the useful snippet.
I successfully used Ditto and FileDetails to create a list of PDFs with pagination:
[!Ditto? depth=`0` &orderBy=`pub_date DESC` &filter=`hidemenu,0` &tpl=`showPDF` &summarize=`10` &paginate=`1` &paginateAlwaysShowLinks=`1`!]
and the Chunk:
<dt><a href="[+tvfile+]">[+title+]</a></dt>
<dd>[!FileDetails?file=`[+tvfile+]` !]</dd>
this worked fine, except I couldn’t configure which metadata was displayed for each file (specifically, I wanted to remove ’filedate’). So I changed the call to this:
[!FileDetails?&archive=`TRUE` &tpl=`showMeetingMinutes` &dittoSnippetParameters=`parents:1|sortBy:pub_date|sortDir:DESC|paginate:1|summarize:10|paginateAlwaysShowLinks:1|depth:0|filter:hidemenu,0`!]
and the chunk:
<dt><a href="[+filelink+]" title="Download [+filename+].pdf">[+filetitle+]</a></dt>
<dd>[+fileicon+] [+filesize+] </dd>
and now the Ditto pagination code (below my FileDetails call) can no longer see the Ditto variables, and pagination no longer works.
Is it possible to get pagination working by calling Ditto through FileDetails?