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
Hi In a View I want to select sibling children and render on currentpage
When Im using var cPage = Umbraco.Content(1127); I t works but I want to use documenttype instead how can I do that
var cPage = Umbraco.Content(1127);
@foreach (var item in cPage.children()) { <li> <a href="@item.Url">@item.Name</a> </li> }
Many Thanks Christina
Comment author was deleted
So something like @Model.Content.Parent.Children().Where(x=> x.Id != Model.Content.Id)
Hi Tim
Many thanks /Christina
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Select sibling from currentpage in a View
Hi In a View I want to select sibling children and render on currentpage
When Im using
var cPage = Umbraco.Content(1127);
I t works but I want to use documenttype instead how can I do thatMany Thanks Christina
Comment author was deleted
So something like @Model.Content.Parent.Children().Where(x=> x.Id != Model.Content.Id)
Hi Tim
Many thanks /Christina
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.