Hello,
I have been looking and trying to come up with a solution for hours now and I can't seem to get it to work. I'm making a portfolio site using using a cloneable template.
The listview looks like this:
A cloned page has the following pagination/navigation:
Basicly I want the "vorige" (previous) button to display the previous cloned page and the "volgende" (next) button to display the next cloned page. The overzicht (overview) button is just a hardcoded link returning to the list view. Also when I hit the top cloned page I need to disable the previous button (same for the next). Besides that it should take into account the weight of the pages, because I want my client to be able to manually order them.
Weight:
I was able to make it work by sorting them on creation date or page ID. However this does not take the weight into account. Eventually I want to be able to use pretty URLS. I have found nothing on creating previous and next buttons using pretty urls. Maybe I'm searching for the wrong terms as this seems like a feature that would be often used in portfolio websites.
Any help would be greatly apreciated! I have already purchased multiple couch license's and will continue to do so for every client, but this is really frustrating as it is something that is almost required on every portfolio website.
Greetings,
Hobie
TL:DR
I need a way to fetch the pretty url link to the next and previous cloned pages based on weight. Also a way to disable the button if top or bottom has been reached.
I have been looking and trying to come up with a solution for hours now and I can't seem to get it to work. I'm making a portfolio site using using a cloneable template.
The listview looks like this:
A cloned page has the following pagination/navigation:
Basicly I want the "vorige" (previous) button to display the previous cloned page and the "volgende" (next) button to display the next cloned page. The overzicht (overview) button is just a hardcoded link returning to the list view. Also when I hit the top cloned page I need to disable the previous button (same for the next). Besides that it should take into account the weight of the pages, because I want my client to be able to manually order them.
Weight:
I was able to make it work by sorting them on creation date or page ID. However this does not take the weight into account. Eventually I want to be able to use pretty URLS. I have found nothing on creating previous and next buttons using pretty urls. Maybe I'm searching for the wrong terms as this seems like a feature that would be often used in portfolio websites.
Any help would be greatly apreciated! I have already purchased multiple couch license's and will continue to do so for every client, but this is really frustrating as it is something that is almost required on every portfolio website.
Greetings,
Hobie
TL:DR
I need a way to fetch the pretty url link to the next and previous cloned pages based on weight. Also a way to disable the button if top or bottom has been reached.