Hi,
I am using getPage and getresources together. I want to create a page that displays the latest resources created with specific templates, but I only want to have 8 per page, and 3 pages total.
It looks like &limit is a property in both getResources and getPage, so if I use it in getPage, I am limiting the number of items PER PAGE to 8, but I can’t see how I can limit the number of pages, or total number of items. I have tried &pagecount=`3` but that just seemed to show less page navigation items at the bottom, not limit the number of pages
I have tried
&total=`32`
&pagecount=`3`
&pageLimit=`3`
none do what I want. Anyone know if what I am trying to do is actually possible?
Cheers,
Rachel
[[!getPage?
&elementClass=`modSnippet`
&element=`getResources`
&parents=`2,3,4`
&tpl=`list-new-thumb-tpl`
&limit=`8`
&pageVarKey=`page`
&includeTVs=`1`
&includeContent=`1`
&sortby=`publishedon`
&where=`{"template:=":11, "OR:template:=":12, "OR:template:=":17}`
]]
wondering about the same.
did you find a solution?