2 menus, works great unless ForceHome is set on the first
I have 2 menus, one for horizontal nav, the other for extra vertical nav. Both trees start in the root.
They work great, except if I try to force the home node on the first. If forcehome is set to nothing, it works fine, if it's set to 0 or 1 (I want 1) then it's strange, but what happens is that when we're on one of the pages in the 2nd tree (the vertical, second nav), the first nav renders the structure of the 2nd tree.
That's really hard to explain, I hope it made sense. Here's what I've got.
Hiya - any chance of a screengrab. As I'm not sure of what you are describing. It sounds to me like it might something to do with the settings. Or perhaps a bug.
Can you also let me know which version of Umbraco you are running it in.
Great idea! And the act of doing that made me realise the problem is different to what I described (not as weird, but still a problem).
You can see the horizontal & vertical menus, with forcehome="1" on the horizontal menu. Here's a page from the horizontal (first) menu. It's fine.
Now if I go to one of the pages on the vertical menu, the home node of the vertical menu shows up in place of the home node of the horizontal (first) menu. This happens regardless of the value of forcehome on the 2nd menu.
In addition, if I set forcehome="1" on the 2nd menu, then visit a page
from the first menu, the first menu's home node ("Home") appears at the
top of the 2nd menu too.
I hope that's clear, and sorry I got the description wrong in the first place :-
2 menus, works great unless ForceHome is set on the first
I have 2 menus, one for horizontal nav, the other for extra vertical nav. Both trees start in the root.
They work great, except if I try to force the home node on the first. If forcehome is set to nothing, it works fine, if it's set to 0 or 1 (I want 1) then it's strange, but what happens is that when we're on one of the pages in the 2nd tree (the vertical, second nav), the first nav renders the structure of the 2nd tree.
That's really hard to explain, I hope it made sense. Here's what I've got.
First menu:
Second menu
This is the closest to what I want, but I want to force the home node on the first menu.
Is there a set of settings that will do this? If not I guess I'll have to rethink structure or hack the xslt :-)
Hiya - any chance of a screengrab. As I'm not sure of what you are describing. It sounds to me like it might something to do with the settings. Or perhaps a bug.
Can you also let me know which version of Umbraco you are running it in.
Kindest Regards
Tim
Great idea! And the act of doing that made me realise the problem is different to what I described (not as weird, but still a problem).
You can see the horizontal & vertical menus, with forcehome="1" on the horizontal menu. Here's a page from the horizontal (first) menu. It's fine.
Now if I go to one of the pages on the vertical menu, the home node of the vertical menu shows up in place of the home node of the horizontal (first) menu. This happens regardless of the value of forcehome on the 2nd menu.
In addition, if I set forcehome="1" on the 2nd menu, then visit a page from the first menu, the first menu's home node ("Home") appears at the top of the 2nd menu too.
I hope that's clear, and sorry I got the description wrong in the first place :-
and umbraco v 4.5.2
Thanks
is working on a reply...