Thank you so much for replying Theak. NewsArticle is in fact a Page subclass. Also, I don't understand why my code doesn't work, is there anything wrong with it? Good advise though, what changes would need to be made to this in order for it to work with the SiteTree? Changing all instances of NewsArticle.Date to just Date ?
I'm using Silverstripe 3 by the way.
Posted to: Prev/Next when ordered by DATE? | Show Thread | Post Reply