Howdy,
I have a list of pages in a tree something like this
- Project 01
- - Example 01
- - Example 02
- - Example 03
- - Example 04
- - Example 01
- Project 02
- - Example A1
- - Example A2
- - Example A3
- - Example A4
- - Example A1
Is there a Method in Silverstripe that allows me to be on the "Example 02" and display links the Previous (Example 01) and Next (Example 03) pages and when I get to the Example 04 page I can hide the Next link as I would the Previous link on Example 01 page.
I've tried looking into my own SQL statement to retreive it, this is roving quite out my league as I'm not really sure on what I'm doing.
Any help wold be greatly appreciated and if I'm asking a simple question from something I've missed in the Documentation I apologise.
Thanks in advance