MODX Community

Does not go to the created with pdoPage page

There is a collection resource(parent), inside it there are a lot of resources that are displayed normally on 1 page, but when I try to go to page 2 or more it simply redirects to the original page (even when I enter the url address and ?page=2 at the end it redirects to the url address)

Here’s the snippet pdoPage:
[[!pdoPage?
&parents=[[*id]]
&limit=36
&tpl=item
&includeTVs=img, price, title
&pageLimit=6]]

When I hover over the button in page.nav it shows the correct link*
What could be the problem?

1 Like

Are you only getting 6 results on the first page, or are all of them showing?

1 Like

I found what the problem is, paging only works with pageVarKey which is different from the original(not “page”) =(
I put &pageNavVar=prod.nav in snippet and the problem was solved

2 Likes

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.