Hi guys!
Right now I print a list of the first year’s children seeing as thats how far I’ve come.
The Content structure looks like this:
Articles
2013
Article 1
Article 2
2014
Article 1
Article 2
And the code I have so far looks like this:
var root = Model.AncestorOrSelf(1).Down(1);
var selection = root.Children.OrderBy("homepageArticleDate desc");
@foreach (var item in selection)
{
here I do stuff..
}
Now what I need to do is run through all of the years (I have from 2002-2014) and show their children (a hard way to say every single article ever written).
And can I then still sort them from their descending date?
Every help I can get would help, thank you !
This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/48962-list-of-all-childrens-children