dreerr Posted July 7, 2013 Share Posted July 7, 2013 I'm at the beginning of a new page and experience odd behavior of the Pagination. I activated the Pagination in the URLs tab and only used the Example #2 from http://processwire.com/api/modules/markup-pager-nav/But when I try to get to access another page I get to page1 again, page2 is also removed from the URL again.Example here http://www.wp11196092.server-he.de/werke/auf-papier/ whole code of the template $o; $works = $pages->find("parent=$page, limit=8"); foreach ($works as $work) { $thumb=$work->image->size(250, 250); $o.="<li><a href='{$work->url}'> <figure> <img src='{$thumb->url}' alt='{$work->title}'> <figcaption>{$work->title}</figcaption> </figure> </a></li>"; } $o='<ul class="thumbs">'.$o.'</ul>'.$works->renderPager(); $out->addArticleWithNav($o,$page->siblings); Using 2.3.1 Link to comment Share on other sites More sharing options...
SiNNuT Posted July 7, 2013 Share Posted July 7, 2013 There have been several commits to the dev branch the last couple of days to fix issues with pagination and language support. Upgrade to see if this helps, or if you've already done so maybe your problems come from the last commits. https://github.com/ryancramerdesign/ProcessWire/commits/dev 1 Link to comment Share on other sites More sharing options...
dreerr Posted July 7, 2013 Author Share Posted July 7, 2013 I thought so that this might be because of dev-Branch, thanks for confirming it! Works now... Link to comment Share on other sites More sharing options...
SiNNuT Posted July 7, 2013 Share Posted July 7, 2013 So updating to the latest (dev branch) solved things or did they cause your problems? 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