Why
Tiki has several ways to represent menus.
- SuckerFish
- PHPLayersmenu
- Classc Tiki menu
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
YAML
objects:
-
type: menu
ref: very_long_menu
data:
name: My Menu
description: A menu containing the base navigation of the site
collapse: none
position: left
order: 1
groups: [ Anonymous ]
items:
-
name: Home
url: ((HomePage))
groups: [ Anonymous ]
-
name: Private Area
url: ((PrivateArea))
groups: [ Registered ]
items:
-
name: Forum
url: tiki-forums.php
-
name: Preferences
url: tiki-user_preferences.php
-
name: Forum
url: tiki-forums.php
-
name: There should be nothing here
url: ((Nada))
-
name: Account Moderation
url: tiki-adminusers.php
permissions: [ admin_users ]
-
name: Administration
url: tiki-admin.php
permissions: [ admin ]
items:
-
name: Forum admin
url: tiki-admin_forums.php
-
name: Contact
url: tiki-contact.php
Assign in various ways
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}
{menu id=$profileobject:very_long_menu$}
{menu id=$profileobject:very_long_menu$ css=y}
See:
http://doc.tikiwiki.org/Menus
Easy theme switcher
Uses:
Test_Themes
YAML
dependencies:
- $profiles.tikiwiki.org:Test_Themes:Test_Themes