I have just quickly modified (changed the templates) of the "stock" blog that gets created with the base install and I can’t get the Reflect archive links to work. The list of links (with month and year) are created but even thought the query string is appended to the URL the Ditto instance does not reflect the changes on page refresh. In other words the links don’t change the Ditto display to list only that month’s posts. Actually when I click another link in the archive list it appends the more to the query string instead of changing the URL. I am just targeting the base log page (in other words the same page). Funny thing is, I am seeing the same behavior on the demo install at opensourcecms.org. Does anyone know if there is a bug in the new version of Reflect? Maybe I am just doing something wrong. I noticed that many examples have the parameters of "&id=`wp`", when I add that is breaks the Reflect list and the pagination of the blog entries. Wierd?
Here is my code:
[!Ditto? &startID=`2` &summarize=`5` &removeChunk=`Comments` &tpl=`ditto_blog` &paginate=`1` &extenders=`summary,dateFilter,request` &paginateAlwaysShowLinks=`1` &tagData=`documentTags` &debug=`1` !]
[[Reflect? &dittoSnippetParameters=`startID:2` &groupByYears=`0` &showItems=`0` &tplMonth=`reflect_month_tpl` &tplContainer=`reflect_container_tpl`]]
I have looked at several examples throughout the forum and tried several things - nothing works so far.
Attached is debug console.
Here is what I am trying to achieve:
Archive list
July 2007
April 2006
click on the link to refresh the page with the posts for only that month and year.