Hello all.
I am using getPage to retrieve list of versions and display it by 10 items to page.
Now first items of every page (1,2,3,...) are rendering as tplFirst. But i want that first item on first page only uses tplFirst chunk, first item on second, third and other pages should render as tpl chunk.
Here is my code:
[[!getPage@gp? &elementClass=`modSnippet` &element=`getResources` &parents=`10` &limit=`10` &pageVarKey=`page` &includeTVs=`1` &includeContent=`1` &tpl=`fvc_history` & tplFirst=`fvc_history_first` ]]
<div id="pagination">
<p class="tech">Pages: [[!+page.nav]]</p>
</div>
We are using ModX Revo 2.0.8
I would appreciate any help.