On home page of my website I would like to list urls of articles that are located in a another folder. I know how to access this data from the folder in questions but I do not know how to access is from one level above which is homepage. I am not sure if I explained it well...
I found the solution in one of the razor snippets:
.Descendants Get all the children [deep] of the current node, by collecting the children. .Children will only return the immediate children, whereas Descendants will return all of them (children of children..)
Accessing content that is on lower levels
Hi Guys,
On home page of my website I would like to list urls of articles that are located in a another folder. I know how to access this data from the folder in questions but I do not know how to access is from one level above which is homepage. I am not sure if I explained it well...
please help!
kind regards
pikej
I found the solution in one of the razor snippets:
.Descendants
Get all the children [deep] of the current node, by collecting the children.
.Children will only return the immediate children, whereas Descendants will return all of them (children of children..)
umbraco rules and razor rocks!
is working on a reply...