Tag for looping previous/next pages
Posted: Mon Oct 16, 2006 2:37 pm
I'm putting together a picture gallery for a non-techie end-user and currently using the {cms_selflink} tag to generate links to the previous and next pages.
Problem is: how to loop the last page back to the first and vice versa without resorting to a separate template for these two? As the end-user will be adding new pages I need to keep the system as simple as possible.
I'm sure there must be a easy solution.
Problem is: how to loop the last page back to the first and vice versa without resorting to a separate template for these two? As the end-user will be adding new pages I need to keep the system as simple as possible.
I'm sure there must be a easy solution.