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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

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

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

next and previous page

Go to End

2 Posts   1600 Views


Forum Moderator, 224 Posts

15 May 2007 at 12:19pm

Hi Folk

Sorry, I am a complete newbie. My question is how to create a <next> and <previous> button on the page, which goes to the next and previous page on the site-tree (e.g. if you are on page 3.2.2 then previous goes to 3.2.1 and next goes to 3.2.3).

I know this is really basic, but I am just learning those basics.

Thank you



4 Posts

24 March 2008 at 4:21pm

Hey, im wanting to do the same thing. Does anyone have a solution for this? Maybe making two functions, one for $PrevLink and one for $NextLink?

Please help