Module menu | |
Starting in Tiki7, there is a dedicated menu module.
Copy to clipboard
Copy to clipboard
|
Parameters | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Displays a menu or a structure as a menu. Go to the source code
|
Example based on Structure (sub)tree | |
Imagine that we have this structure defined in our Tiki: Copy to clipboard
|
Making menus look good | |
For top-right horizontal menu | |
|
The second-level horizontal menu | |
|
Using CSS option (instead of bootstrap) so the sub-level menu open where there is room. | |
|
Bottom menu sub-level that dropup (slide up) and instead of dropdown (slide down) | |
On admin-modules, under the menu or for other dropdown-containing module's you can go to "Appearance" tab, add "dropup" for the "custom class" option. |
Comparison with other modules | |
What is better with the "module menu" compared to the "module wikistructuremenu", is that the "module menu" you can use for horizontal and vertical menus, whilst the "module wikistructuremenu" works only vertically. |
Example | |
See:
The main horizontal navigation menu in the top bar, that you can see aswell on the one column HomePage, is a "module menu" with a "standardly assigned menuId".
There is a second horizontal menu - not in the topbar, but in the pagetop.
If the menu should be restructured - mostlikely the new pages autoposition in the menu does not fit exactly - somebody with permission to admin the structure has to move up and to deprecate or to promote the page in the structure - that is done only with arrows up/down/left/right In the admin area of the specific structure, you also can add (or delete) pages to this structure and depending of the settings regarding autocategorisation, these added pages also appear in the menu automagically (if a structured page would not be in the structures category, the menu would disappear). This way, you do not need to give any editor the task and/or permission to edit menus.
|
Related Pages | |
See these pages for information that applies for all modules:
|