Loading...
 

Test_All_Menus

Why


Tiki has several ways to represent menus.

  1. SuckerFish
    • Horizontal
    • Vertical
  2. PHPLayersmenu
    • Tree
    • Horizontal
    • Vertical
  3. Classc Tiki menu
    • Vertical in module

It is also possible to start a menu showing at a certain level: Split_Level_Menu

Each menu should be tested with all themes.

This profile intends to show off all menu possibilities


Create menus (hierarchy)


Creating the menu

Uses: Very_Long_Menu
YAML
dependencies: - $profiles.tiki.org:Very_Long_Menu:Very_Long_Menu

Assign in various ways

Add horizontal menu to top bar

YAML
preferences: feature_phplayers: y feature_cssmenus: y feature_top_bar: y feature_sitemenu: y feature_topbar_id_menu: $profileobject:very_long_menu$


Tree

YAML
objects: - type: module ref: module_demo_very_long_tree_menu data: name: module_demo_very_long_tree_menu position : right groups : Registered order: 5 title: menu content: {phplayers id=$profileobject:very_long_menu$}





PLM Horiz

{phplayers id=$profileobject:very_long_menu$ type=horiz}

PLM vert

{phplayers id=$profileobject:very_long_menu$ type=vert}

tiki format

{menu id=$profileobject:very_long_menu$}

CSS/suckerfish format

{menu id=$profileobject:very_long_menu$ css=y}


Split level menu

Will have
  1. one top-level horizontal menu
  2. second & third level menus will be on the left, and contextual to what menu item is chosen at the top

in top custom code:
{menu id=101 css=y type=horiz toLevel=0}

in module
{menu id=101 css=y type=vert sectionLevel=1}


Amazon-style

Will have
  1. one top-level horizontal menu
  2. just below, second & third level horizontal menus, and contextual to what menu item is chosen at the top

in top custom code:
{menu id=101 css=y type=horiz toLevel=0}
{menu id=101 css=y type=horiz sectionLevel=1}


See:
http://doc.tiki.org/Menus




Easy theme switcher

Uses: Test_All_Themes

dependencies:
- $profiles.tiki.org:Test_All_Themes:Test_All_Themes