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...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
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...