FuturShoc Posted February 4, 2013 Share Posted February 4, 2013 We're trying to build a "Members" page, with pagination of the 2,000+ user profiles. The pagination links are showing up as expected and some results are being displayed. And the URL does change correctly as page links are clicked. However, the pagination links themselves aren't changing the content of the page. It always just shows the first page of results. $results = $users->find("id>1, start=0, limit=24, sort=name"); $pagination = $results->renderPager(); Link to comment Share on other sites More sharing options...
diogo Posted February 4, 2013 Share Posted February 4, 2013 Did you allow page numbers on the template? 2. Determine what template(s) you want to use pagination with. Go to Admin > Setup > Templates > [Your Template] > URLs, and check the box for: Allow Page Numbers. Save. http://processwire.com/api/modules/markup-pager-nav/ Link to comment Share on other sites More sharing options...
FuturShoc Posted February 4, 2013 Author Share Posted February 4, 2013 Yep! Page numbers are enabled, per the documentation/tutorial. Here's a link: http://pvcc.inthooz.me/members/ Link to comment Share on other sites More sharing options...
Soma Posted February 4, 2013 Share Posted February 4, 2013 Remove start=0. 3 Link to comment Share on other sites More sharing options...
FuturShoc Posted February 4, 2013 Author Share Posted February 4, 2013 Remove start=0. Eureka. That was it. Thanks, Soma! Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now