tooth-paste Posted February 29, 2016 Posted February 29, 2016 On every detail page of a project I would like a button to go to the next project. projects -A -B -C -D etc. This is the textbutton <a href='{$page->next->url}' class='volgende'><h1>Next</h1><p>{$page->next->title}</p></a> Problem: When you use this button and go to the last project, you can not go any further because there are no more siblings. Wish: Is it possible to keep going thru the projects. So when you go to the last project, for example D, the button starts over and selects sibling A?
LostKobrakai Posted February 29, 2016 Posted February 29, 2016 https://processwire.com/talk/topic/12147-continuous-prevnext-links/ 1
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