I am using getArchives inside of getpage which produced a menu to select resources by Year.
This was working perfect but I have just found out that whatever year link I select it just outputs all the results in date order, I know I updated getResources in the package manager the other day and can only presume that must have upset something but I dont for the life of me know what.
Can anyone please give me any clues on how to fix it I am using Rev 2.2.6 and have cleared the site cache and FURL's are turned on
The call that creates the Menu by Year links is this
[[!ArchivistGrouper? &parents=`28` &mode=`year` &depth=`3` &groupTpl=`GroupByYear`]]
The &groupByYear template contains this
<ul>
<li><a href="[[+url]]">[[+year]]</a>
</li>
</ul>
and the links that outputs look like this
http://sudburymcc.co.uk/archive-events-report-pages.html2005
Resource which outputs results has the following
[[!getPage?
&element=`getArchives`
&tpl=`newsTpl`
&parents=`28`
&showHidden=`1`
&limit=`5`
&pageVarKey=`page`
&includeTVs=`1`
&processTVs=`1`
&toPlaceholder=`archives`
&cache=`0`
&hideContainers=`1`
]]
<h3>All results [[+arc_month_name]] [[+arc_year]]</h3>
[[+archives]]
[[$pagePagination]]
Thanks
Ian
[ed. note: ianman last edited this post 13 years, 7 months ago.]