Hi All,
I’m trying to do a simple setup with ditto and reflect but can’t seem to get it to work. I have a main blog parent page acting as the parent for all of my blog pages (id of 2) which shows only my most recent blog. Here’s the Ditto call:
[!Ditto? &id=`diary` &startID=`2` &summarize=`1` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`0` &dateSource=`createdon` &dateFormat=`%A, %B %e, %Y` !]
I then have an "archives" link on that page. This links to a page with my reflect call and outputs a list of month links. Here’s the reflect call on that pag (interesting note, if I put the parameter id=`diary` into my reflect call it says I have a bad ditto call):
[!Reflect? &dittoSnippetParameters=`parents:2` &targetID=`1356` &groupByYears=`0` &showItems=`0` &tplMonth=`reflect_month_tpl` &monthSortDir=`DESC` &dateSource=`createdon` &paginate=`1`!]
The list of months on this page looks fine and dandy,
here’s the problem - When you click on a month link, it just brings you to a page with a summary of every single blog post on my site, starting with the most recent and going to the end (kind of ruins the whole idea). It should be that when you click the link for "May" you are taken to a page with blog posts from May.. no such luck. Here’s the Ditto call for the "targetID page from my reflect call:
[!Ditto? &id=`diary` &startID=`2` &summarize=`5` &removeChunk=`Comments` &tpl=`archive_pages` &paginate=`1` &extenders=`summary,dateFilter` &paginateAlwaysShowLinks=`0` &dateSource=`createdon` &dateFormat=`%A, %B %e, %Y` !]
I’m probably just missing something obvious so if it’s jumping out at anyone please let me know! Thanks!