Hi
I would like to add a next and previous page.... I am a completely newbie, but I am not giving up. I am kind of pissed though, because I can do that in PHP in five minutes.... Anyway.
I think this is best added to /sapphire/core/model/sitetree.php and would go along the ways of
public function getNextPage() {
return DataObject::get_one("SiteTree", "insert smart SQL here" );
}
I have the following questions....
a. can someone tell me how to write that function
b. what are the chances of making it part SS?
I am desperate - so any help greatly appreciated!
Nicolaas