Circular Pagination

2 posts by 2 authors in: Forums > CMS Builder
Last Post: July 3, 2013   (RSS)

By Perchpole - July 2, 2013

Hi, All

I am trying to implement a sort of circular pagination system for a client using prev/next links. He wants people to skip from page to page in an endless loop.

All of the pages assigned to a category would be included in the loop (excluding those which are hidden).

In this example each Car page is assigned to the Car category:

Car Category
  Car 1
  Car 2 [hidden]
  Car 3
  Car 4


If the reader were on the "Car 1" page the prev/next links would be:

<< Prev:Car 4 & Next:Car 3 >>

Once the reader reaches "Car 4" the links would be:

<< Prev:Car 3 & Next:Car 1 >>

The reader could then keep clicking on the Next link to go from page to page to page without ever reaching the end.

:0/

Perchpole