jbonfardeci / ShockoutForms

SharePoint + Knockout MVVM forms - an InfoPath killer
32 stars 8 forks source link

Nav menu #7

Closed leolorenzoluis closed 8 years ago

leolorenzoluis commented 8 years ago

On the given example, is there a way to customize the navbar header? Instead of a list of URL, it will be an accordion?

bnsc commented 8 years ago

This is possible.

Search the .js for 'Templates.soNavMenuControl' and 'Templates.soNavMenu'. These are the templates for the menu (about line 3292). If you modify the template, you can get the desired accordion layout.

I hope this helps you. Thank you, Bill

lllpsi commented 8 years ago

Does modifying the templates to not use bootstrap removes all bootstrap dependencies?