Answer the question
In order to leave comments, you need to log in
How to fix pdoPage pagination | modx revo?
Welcome all!
Made a conclusion of articles, code
[[!getPage? &elementClass=`modSnippet` &element=`getResources`&
parents=`2` &tpl=`articleTpl` &limit=`5`&
includeTVs=`1` &hideContainers=`1` &pageLimit=`99` &
pageNavVar=`page.nav`]] [[+page.nav]]
and pagination moved sideways, and it has 4 buttons, all lead to page 2 (except 1) Answer the question
In order to leave comments, you need to log in
Not pdoPage, but use getPage.
Assign "Page Navigation Template Properties"
https://docs.modx.com/extras/revo/getpage
Put the +page.nav placeholder in a different block so that it doesn't appear next to the output.
Normal behavior if there are only two pages.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question