Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Archive

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, biapar, Willr, Ingo, simon_w

Site Content Pagination


Reply

1078 Views

Avatar
cindycin

8 July 2008 at 3:48am Community Member, 20 Posts

Is there a pagination system for the site content pages? I would like to calculate the number of submenu pages and have it generate the next and previous buttons. For example: My main menu section is titled ABOUT. Under the ABOUT section there are 12 pages... at the bottom of the first page I would like it to read

1 of 12 [next]

when you are on page 2 it will read

[prev] 2 of 12 [next]

and when you are on the last page it will read

[prev] 12 of 12

I would like this pagination system for each of the "main" sections I set up.

Is there something like this available? if not does anyone know how I can create it? I'm pretty new to SilverStripe and am trying to figure it all out.

Thanks.