Some of the items in the tree will be hidden when the umbracoNaviHide is true. But, at the next level the node will not be hidden even though umbracoNaviHide is true for that node as well.
For example, here is my tree:
Content - Home - Products - Disability (last node that will hide. Also happens to be the first node shown in the left navigation.) - Revision - Product Guide (this is the node that I want to hide)
Does that make any difference?
I've tried republishing the site, and republishing at the Home level with all subpage and child pages checked so they publish also.
Unable to hide nodes from navigation
Not sure if this is a bug, more likely something I've changed that is causing the error.
At the 4th level of the nodes in the site, when the umbracoNaviHide is checked, the nodes still show in the site navigation.
I have not changed the XSLT in the Navigation.xslt file that was part of the package.
Has anyone seen the same issue?
Hi Ed,
Can you should us your XSLT code?....do you have the (umbracoNaviHide) != '1' in your XSLT?
//fuji
Hey Fuji.
Thanks for your response.
There is code in the XSLT for it. I'm actually using the Koiak starter site, and the Navigation XSLT file is what controls it.
I have not modified the XSLT. Is it possible some other factor is involved?
Can you try changing
to
Thanks for the try, but same results.
Some of the items in the tree will be hidden when the umbracoNaviHide is true. But, at the next level the node will not be hidden even though umbracoNaviHide is true for that node as well.
For example, here is my tree:
Content
- Home
- Products
- Disability (last node that will hide. Also happens to be the first node shown in the left navigation.)
- Revision
- Product Guide (this is the node that I want to hide)
Does that make any difference?
I've tried republishing the site, and republishing at the Home level with all subpage and child pages checked so they publish also.
Ed, is it a mutilevel navigation or just a simple navigation where some nodes needs to be hidden?
Fuji, thanks again for your help.
The same as the navigation on the sample Koiak web site:
(http://our.umbraco.org/media/wiki/12479/634267496176800000_Standard-Site-Standard-Page-.png)
Ed, is Sub Navigation 1 a drop down menu under about us? If not you can give this code a try.
Fuji,
That moved the navigation links at the top of the page over to the side with the left nav items.
I'm beginning to think that there is something in another file that I changed that is causing the issue. No idea what that could be.
Or, the XSLT isn't designed to handle that many levels in the menu, is that possible?
I appreciate all your help. If you think this may not be possible to fix this issue via forum talk, let me know.
Ed
Hi Ed,
Am still not very sure how your navigation works or should be working. Are you running under v4.7?
Amyways, if you want more help on this spit it out, the umbraco community is there to help.
//fuji
Fuji, here are a couple of screen caps that show the navigation in Umbraco and on the site.
I've marked where the nodes are not hiding as they should when the umbracoNaviHide is true.
On the site:
Hope this helps.
Ed
is working on a reply...