Replace Side Nav menu with a static TOC (feature requested)

This forum is for all Flare issues related to styles, stylesheets and XML.
Post Reply
ArdisRamey
Propeller Head
Posts: 54
Joined: Wed Sep 05, 2018 9:04 am

Replace Side Nav menu with a static TOC (feature requested)

Post by ArdisRamey »

I'm trying to build my project with the Side Navigation skins, but one of the issues I'm facing is that the navigation menu from Side Navigation is configured to expand/collapse on click, like an accordion menu. However, I require my navigation menu to display the TOC items at all times.

It appears that the menu as configured out of the box cannot do that, as "those list elements are not actually loaded into the DOM until the parent element is clicked". If this is the case, what can I use to get a clickable side navigation bar that displays all of its content all the time?
Last edited by ArdisRamey on Fri Oct 12, 2018 11:06 am, edited 1 time in total.
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Replace accordion menu in Side Nav with a static TOC lis

Post by NorthEast »

You can insert a menu proxy in your master page.
If you don't select the Context sensitive setting, you'll see the whole TOC in the menu.
ArdisRamey
Propeller Head
Posts: 54
Joined: Wed Sep 05, 2018 9:04 am

Re: Replace accordion menu in Side Nav with a static TOC lis

Post by ArdisRamey »

Can this same Context Sensitive setting be used to get this effect with the core side navigation menu from the Side Navigation skin?
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Replace accordion menu in Side Nav with a static TOC lis

Post by NorthEast »

ArdisRamey wrote:Can this same Context Sensitive setting be used to get this effect with the core side navigation menu from the Side Navigation skin?
No - the Context sensitive option is only for the menu proxy.
ArdisRamey
Propeller Head
Posts: 54
Joined: Wed Sep 05, 2018 9:04 am

Re: Replace accordion menu in Side Nav with a static TOC lis

Post by ArdisRamey »

Then Context Sensitive is not a solution to my query.

For now, I've been able to mock some of this behavior by falsely reorganizing my TOC and setting a new Home Page for the project (within the Target's General settings, for those who like me did not see this documented anywhere).

Hopefully this functionality will be made available in the future.
NorthEast
Master Propellus Maximus
Posts: 6359
Joined: Mon Mar 05, 2007 8:33 am

Re: Replace accordion menu in Side Nav with a static TOC lis

Post by NorthEast »

If you want something that displays your entire menu, without the expand/collapse of the side/nav - then a menu proxy will do that (with Context sensitive switched off).

But without knowing what you're aiming for, I'm not sure what to suggest.
ArdisRamey
Propeller Head
Posts: 54
Joined: Wed Sep 05, 2018 9:04 am

Re: Replace accordion menu in Side Nav with a static TOC lis

Post by ArdisRamey »

I think you're right, Dave.

I know it's hard to suggest alternate solutions when another user's ideal path isn't possible (like in my case, where the functionality I'm asking about simply doesn't exist in the place I want it to). I appreciate the effort.
Post Reply