dropdown menu autonav
Permalink
I'm trying to get a autonav custom template to display dropdown menus and have been having no luck..
Can somebody help?? I included the view.css
Thanks
Bob
Can somebody help?? I included the view.css
Thanks
Bob
Before you start:
Learn how to create the specific drop-down (markup - namespace selectors - assets). Add the markup and assets to your template and see if it works for you fine. If the answer is "work great" start your block template.
Step 1. Add navbar block to your page and Edit autoNav properties to show sub pages (UL inside LI). Now choose your custom template and start edit the view.php
Step 2 - Adapt the autonav markup:
You need to change View.php
Very helpful to un-comment this to control the objects in the array that have "submenu" ("THE PARENT")
You also can use this IF for example - to add divs or other extra markup
very general Structure of autonav: