I am trying to add umbracoNaviHide to my for-each statment but I am not having any luck. This is the solution I have tried so far. Nothing I seem to do will hide the other images from being added to the LI
just to check - your NewBanner node doctype does contain the umbracoNaviHide exactly cased and spelled like that (and the newBanner node has the checkbox checked)?
Yeah, can't balme you for asking.. but yeah.. I've checked it over and over.. copied and pasted it in there.. umbracoNaviHide... I have added 4 banners and checked the box off on 2 of them.. so I should only be showing 2 in the UL but all 4 always show up
@Kim Andersen Ok... that helped me out... I had missed an "i" in the alias when I first created doctype... even though I had gone back and fixed that error it never carried over to the XML for some reason.. So once I deleted the property and re-created it... everything seems to be working fine now..
I'll have to keep that trick in mind for the future.. Thanks to Tommy Poulsen too for helping me out too!
umbracoNaviHide inside a For-Each Statement
Hello Everyone.
I am trying to add umbracoNaviHide to my for-each statment but I am not having any luck. This is the solution I have tried so far. Nothing I seem to do will hide the other images from being added to the LI
I have also tried:
I am using Umbraco 4.7 and would appreciate any help on this.
just to check - your NewBanner node doctype does contain the umbracoNaviHide exactly cased and spelled like that (and the newBanner node has the checkbox checked)?
Yeah, can't balme you for asking.. but yeah.. I've checked it over and over.. copied and pasted it in there.. umbracoNaviHide... I have added 4 banners and checked the box off on 2 of them.. so I should only be showing 2 in the UL but all 4 always show up
HI there
Could you try to check the node's XML to make sure that the umbracoNaviHide is correctly set to 1. Try posting the returned XML from this snippet:
/Kim A
@Kim Andersen Ok... that helped me out... I had missed an "i" in the alias when I first created doctype... even though I had gone back and fixed that error it never carried over to the XML for some reason.. So once I deleted the property and re-created it... everything seems to be working fine now..
I'll have to keep that trick in mind for the future.. Thanks to Tommy Poulsen too for helping me out too!
Great to hear!
Actully you probably just needed to republish the nodes after renaming the property alias. But anyway, I'm glad things works now :)
/Kim A
is working on a reply...