5099 Posts in 1519 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 1626 Views |
-
Sitetree Dynamic Grouping implementation example?

4 August 2010 at 4:33am Last edited: 4 August 2010 4:34am
I would like to group childpages from a parent holder page by date, like discussed in this old topic:
http://www.silverstripe.org/archive/show/15416?start=32
There is some documentation on this page about Dynamic Grouping and DynamicTreeGroup.
http://doc.silverstripe.org/sitetree#dynamic_grouping
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:
http://doc.silverstripe.org/sitetree#custom_children_getters
But I don't really what I chould return there..
-
Re: Sitetree Dynamic Grouping implementation example?

4 March 2011 at 5:42pm
Has anyone an working example for this?
Very much appreciated...
| 1626 Views | ||
|
Page:
1
|
Go to Top |


