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...
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
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...
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.