Hi there,
I am trying to use pdoPage to list children resources on the parent page, this is my code:
[[pdoPage?
&parents=`[[*id]]`
&tpl=`chunckname`
&includeTVs=`imagetv`
&pageLimit=`8`
&tplPageWrapper=`@INLINE <nav class="mt-3" aria-label="Page navigation"><ul class="pagination justify-content-center">[[+prev]][[+pages]][[+next]]</ul>
</nav>`
&tplPageActive=`@INLINE <li class="active">[[+pageNo]]</li>`
&tplPagePrev=`@INLINE <li class="prev"><a href="[[+href]]">« Previou</a></li>`
&tplPagePrevEmpty=`@INLINE <li class="prev">« Previous</li>`
&tplPageFirst=`@INLINE <li class="first"><a href="[[+href]]">«</a></li>`
&tplPageFirstEmpty=`@INLINE <li class="first active">«</li>`
&tplPageNext=`@INLINE <li class="next"><a href="[[+href]]">Next »</a></li>`
&tplPageNextEmpty=`@INLINE <li class="next">Next »</li>`
&tplPageLast=`@INLINE <li class="last"><a href="[[+href]]">»</a></li>`
&tplPageLastEmpty=`@INLINE <li class="last active">»</li>`
&tplPageSkip=`@INLINE <li class="active">...</li>`
]]
[[+page.nav]]
The first page is working fine, but when I click on the next page, I see the exact same content from the previous page.
Do you have any idea what I am doing wrong? Unfortunately, I can’t access the documentation on docs.modx.pro. ( is the the same for you guys ? )
Thanks a lot for your help.