Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Just wondering if we can create a v5 forum as razor has changed enough.. just wondering how I'd translate this to v5 razor syntax as AncestorsOrSelf doesn't take level as an arg..
Model.AncestorOrSelf(1).Children.Where("Visible")
I tried @foreach (var page in DynamicModel.AncestorOrSelfs.Where("Level == @0", 1).Children.Where("Visible"))
but no joy is there any documentation on DynamicContentList..
arg all these new types post v4 and documentation is sad..
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
umbraco v5 multilevel nav?
Just wondering if we can create a v5 forum as razor has changed enough.. just wondering how I'd translate this to v5 razor syntax as AncestorsOrSelf doesn't take level as an arg..
Model.AncestorOrSelf(1).Children.Where("Visible")
I tried @foreach (var page in DynamicModel.AncestorOrSelfs.Where("Level == @0", 1).Children.Where("Visible"))
but no joy is there any documentation on DynamicContentList..
arg all these new types post v4 and documentation is sad..
is working on a reply...