-
-
Notifications
You must be signed in to change notification settings - Fork 200
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding mainnavigation levels problem #320
Comments
@thomasmstein the setting is absoloutly correct and the data should be available, but the template for the mainmenu itself will not output more than 2 automaticly because the template does not support it. if you want to have more than 2 levels in the main menu you will need to overlay the partial for the main menu and just add rendering for the children of the elements, have a look here. |
@benjaminkott I have developed a sample static menu structure as html including the required CSS for the dropdown-submenu class, hover, etc. - just as an aid. However, I cannot figure it out how to develop the dynamics to go with it :-( ... despite the long weekend. Do I have to repeat the This is my static test menu structure:
|
@benjaminkott I eventually worked it out and the main navigation can expand now by 5 sub levels (total of 6 levels). Thanks for your hint. I haven't had the time to add the active link Attached the modified Main.html (added the .txt extension for the upload) with some inline comments. Cheers Thomas |
Benjamin et al., Attached the slightly modified version now including 'active' state for selected page and menu path. Main.html (added .txt to filename for the upload). Cheers Thomas |
Hello Benjamin and Thomas, I hope you don't mind me writing to this closed thread. The main navigation and the next levels work good (level-one & level-two), but when I try to toggle the "following level level-three", “next level-level two” and “following level-level three” close. When I click on the button “next level-level two-2” the toggle changes and adds the open class, but the toggle on “mainNav item-level one-2” reverts back and the open class is removed, closing the menu levels. I am trying to get "following level-level three" to open only after clicking "-next level-level two-2" ---mainNav item-level one ---mainNav item-level oneMany thanks, Kev |
@Kev0003 thats a sounds more or less like a bootstrap problem - have a look here for solutions http://bootsnipp.com/snippets/featured/multi-level-dropdown-menu-bs3 |
Hi Benjamin, Thanks for the tip and links I will take a look. Cheers, |
Benjamin,
I like the change to 7.0.0 (Thanks!) also in relation to the easier menu configuration especially subnavigation, breadcrumb and languagenavigation.
However, I am *_struggling *_with mainnavigation and I need more levels. I just can't figure it out how to add more levels. I am a 'content provider' and need to structure the content to more levels which cannot be achieved by two levels.
Increasing levels by setting "page.10.dataProcessing.10.levels=5" (preferably higher) does not seem to make any difference. It might be obvious to some but unfortunately not to me.
Some clarification and support in that direction would be greatly appreciated - and I believe others would love it too :-)
Thanks
Thomas
The text was updated successfully, but these errors were encountered: