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:

Customising the CMS /

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

Sitetree Dynamic Grouping implementation example?

Go to End

4 Posts   2343 Views


Community Member, 271 Posts

4 August 2010 at 4:33am

Edited: 04/08/2010 4:34am

I would like to group childpages from a parent holder page by date, like discussed in this old topic:

There is some documentation on this page about Dynamic Grouping and DynamicTreeGroup.

Does anyone has an example of how to implement this on a PageType?

And do I read it correct that it is posible to create fake nodes to group certain pagetype in a fake holder with:

class NewsMonthTreeNode extends ViewableData{ //? }

I tried to add add custom children getters like is said here:

But I don't really what I chould return there..


Community Member, 271 Posts

11 August 2010 at 3:01pm



Forum Moderator, 435 Posts

15 August 2010 at 8:55pm



Community Member, 8 Posts

4 March 2011 at 5:42pm

Has anyone an working example for this?
Very much appreciated...