History: Menu Topics
Preview of version: 6
Menu Revamp, Coding, what has to be done ...
Table of contents
Refactoring Tikis menu system
We need to refactor the Tiki menu system for reasons:
more and different classes in Bootstrap menus
The new Bootstrap responsive menues are much more sophisticated with more than one menu-item-array and different levels
The actual men-item-array from tiki-admin_modules.php simply does not at all fit to the bootstrap.css and either not to the bootstrap.js.
We either need to develop a new kind of menu, or - what I preferred, if coders agreed - we extend the existing menus to the opportunities and requirements we see with Bootstrap.
need more flexibility
The actual Tiki menu system is easy to use, reliable and very good in what it can provide.
But in the end of the day it is not flexible enough, to provode us width certain new state of the art menu item effects:
Example: "Mega Menus" alike Amazon for several submenus or grafics or arbitrary text and in a menu item (nearly there with "use WikiSyntax in menus", but difficult to style and no translation of the whole menu if the preference is active).
=> Can the Bootstrap menu provide this?
only two levels in Bootstrap menus (the dark side)
Marc Laporte mentioned, that the Bootstrap Navigation only knows two menu levels, whilst Tikis menu system knows at least five levels
superfish
Do we need "superfish" for wikistructure-menus?
LPH said in the dev-list -1 to keep superfish.
There is no point to lose wikistructure menu or not to have a multilevel standard menu ... so is the Bootstrap menu a feasable replacement, or a good but limited supplement to Tikis existing abilities?
So what to do?
- check vertical menu in bootstrap
Any joy with vertical menus in Tiki based on Bootstrap up to now?
no point not to have vertical menus anymore. - just add bs-nav-menu as option?
add a new bootstrap menu, but keep classic css menu as option besides wikistructure menu and
that means to keep superfish, what has a -1 by LPH by this time - extend the code of the bootstraps menu to our needs?
would that be any possible and who has the capacity?
mind to be independant of javaScript at least of wide screen mode?
accept reliability on JavaScript based menu in mobile mode without
alternative classic cssmenu - complete new development
write a complete new menu replacing both: classic (including wikistructure) and bootstrap .. combining classic and bootstrap advantages and preventing from both's disadvantages?
do we have the capacity?
Example HTML Code
Here I have added an example of a typical Bootstrap responsive horizontal navigation menu.
It is the todays status of the main navigation of bootstrapped.fabricius.me and technically borrowed from bootswatch.com
It is plain HTML code in a Tiki custom menu applied to the header.
To review just click on the fading link below: