pdoPage previous and next button


This is my first post,

My name is Robin and i started working with modx 5months ago. I still have allot to learn and i try to find everything on my own when i can (hard with so little documentation). I Was wondering i made a collection page with children. When i’m on 1 of the childrens pages there is a button to go back with the code:

But how do i make a button for next child/item or previous?

1 Like

Hi Robin!

Welcome to the forums.
Do you mean adding pagination links for pdoPage?
If so, there’s some good documentation for it here: https://docs.modx.pro/en/components/pdotools/snippets/pdopage

1 Like

To clarify, pdoPage only adds the pagination, it is not the tool to use to call the collection.