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
Using 4.7 and i have under my home page bunch of pages most are of type textpage and i also have 3 other different types. Textpage has umbracoNaviHide property only one page in my list has this set to true. I have the following code
dynamic homePage = new DynamicNode(1366);
<ul class="body clearfix">
@foreach (var page in homePage.Children.Where("umbracoNaviHide != true"))
if (Model.Id == page.Id)
<li class="active"><a href="@page.Url">@page.Name</a></li>
so i am listing all pages below home where umbracNaviHide is not true. I except 10 items to be listed however i only get 3. These three are of a doctype that does not have umbracoNaviHide property. If I add the property on that type then it also disappears from list. In my macro for each if i take out the where condition i get all the pages.
Really really weird? Anyone any ideas?
tried that still no joy. only thing that seems to work is if i set it to true then publish then set it to false then publish again.
anyone else seen this?
Seems a bit like
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted