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.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

Archive /

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

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

Site Content Pagination


Go to End


1312 Views

Avatar
cindycin

Community Member, 20 Posts

8 July 2008 at 3:48am

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.