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 all,
After some help if possible.
Lets say I have the following statement
@{ var selection = Umbraco.ContentAtRoot().FirstOrDefault() .Children() .Where(x => x.IsVisible()); } @foreach (var item in selection) { <a href="@item.Url()">@item.Name()</a> }
On my doc type I have a toggle called "Feature" how could I adjust my selection to only show content where "Feature" is true?
Thanks
Bumpy :)
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
True or false in selection statement
Hi all,
After some help if possible.
Lets say I have the following statement
On my doc type I have a toggle called "Feature" how could I adjust my selection to only show content where "Feature" is true?
Thanks
Bumpy :)
is working on a reply...