Hi,
I’m using getPage in conjunction with getResources idx property to return a set of numbered results. It works great on the first page, but when I navigate to subsequent paginated pages, the idx number starts over again at 1 rather than continuing with the count. Is there a way to maintain the idx count throughout paginated pages?
Here’s my call:
[[!getPage? &element=`getResources` &parents=`13` &tpl=`listNeedResult` &tplOdd=`listNeedResultOdd`]]
Here an example of my chunk:
<tr>
<td>[[+idx]]</td>
<td><p><strong>[[+longtitle]]</strong>
[[+introtext]]</p></td>
</tr>
getPage 1.0.0
getResources 1.2.2
Modx Revolution 2.0.0
thanks!