Loading...
Use
Create
Develop
FAQ
Troubleshooting
History: Menu Handler
View page
Show All Versions
Source of version: 13
«
»
This is a ((handler)) to create menus and options. A menu object is the equivalent of a menu, a user module and a ((doc:module)) in TikiWiki. It also contains all the options. To create a menu which will not be in a module (ex.: for top or bottom), just ommit the module specific parameters (ex.: right/left, etc.) !Complete sample for a basic menu {CODE(caption=>YAML)} objects: - type: menu ref: my_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: Administration url: tiki-admin.php permissions: [ admin ] items: - name: Account Moderation url: tiki-adminusers.php permissions: [ admin_users ] {CODE} !Menu Object ||__Field Name__|__Mandatory__|__Value__ name|yes|The name of the module as listed in the administration panel. description| |Menu description collapse| |''collapsed'', ''expanded'' or ''none'', default is collapsed icon| |Icon to be used for collapsable items, see menu documentation items|yes|List of ''item'' objects, see below position| |''left'' or ''right'', required to add as module module_arguments| |If extra arguments must be passed to the {menu} tag in the user module (see ((Split_Level_Menu))) order| |Numeric value, lower values are displayed above, required to add as module cache| |Default ''0'', time to cache in seconds, only used when added as module groups| |List of group names allowed to view the module, only used when added as module || !Item Object ||__Field Name__|__Mandatory__|__Value__ name|yes|Item label url|yes|Item URL or wiki page name as ~np~((PageName))~/np~ items| |List of children ''item'' objects groups| |List of groups allowed to view the item permissions| |List of permissions required to view the item level| |? section| |? ||
History
Enable pagination
rows per page
HTML diff
Side-by-side diff
Side-by-side diff by characters
Inline diff
Inline diff by characters
Full side-by-side diff
Full side-by-side diff by characters
Full inline diff
Full inline diff by characters
Unified diff
Side-by-side view
HTML diff
Side-by-side diff
Advanced
Information
Version
Sun 14 of Jun, 2020 14:36 GMT-0000
Jonny Bradley
add parse
17
Mon 13 of Sep, 2010 22:36 GMT-0000
Marc Laporte
cleaner
16
Thu 15 of Apr, 2010 07:39 GMT-0000
Geoff Brickell
15
Wed 24 of Feb, 2010 17:52 GMT-0000
sylvie
14
Sat 18 of Apr, 2009 14:57 GMT-0000
Marc Laporte
13
Mon 02 of Mar, 2009 21:41 GMT-0000
System Administrator
an example with 2 section 0
12
Mon 02 of Mar, 2009 20:12 GMT-0000
System Administrator
11
Sat 23 of Aug, 2008 15:37 GMT-0000
Marc Laporte
7 - 9
Mon 11 of Aug, 2008 14:55 GMT-0000
System Administrator
4 - 5
Wed 06 of Aug, 2008 20:18 GMT-0000
System Administrator
2 - 3
Wed 06 of Aug, 2008 18:07 GMT-0000
System Administrator
1
Select action to perform with checked...
Remove
OK
Menu
Featured profiles
Profiles in Wizard
Profiles Todos
Handlers
Profiles Tester
Admin
of this site
Current Profiles
Tiki version
21.x
24.x
26.x
27.x
28.x
Deprecated
25.x
state
Not fully functional yet
alpha
beta
release
type
Available in the Profiles Wizard (12+)
Featured profiles
Full profile (out of the box & ready to go)
Learning profile (to show off feature)
Long tail
Mini-profile (can be included in other)
Profile-snippet (optional but needs another "parent" profile)
Security
Tests
Latest Changes
test_new_personal_blog_social_include
test_new_personal_blog_aio
test_new_personal_blog_vlog_include
test_new_personal_blog_about_include
test_new_personal_blog
test_new_small_organization_web_presence
Company_Intranet_21
test_profile_change
personal_blog_and_profile_post1_include
personal_blog_and_profile_vlog_include
test_new_personal_blog_instructions
test_new_small_organization_web_presence_instructions
test_new_small_organization_web_presence_homepage_include
test_new_small_organization_web_presence_mission_include
test_new_small_organization_web_presence_about_include
test_new_small_organization_web_presence_services_include
test_new_small_organization_web_presence_testimonials_include
Small_Organization_Web_Presence_21
test_new_personal_blog_post1_include
test_new_personal_blog_post2_include
...more
Like almost all *.tiki.org sites, you can log in with your login from
https://tiki.org
(register over there)
Search
Find
Most Popular Tags
admin
agenda
alias
antibot
antibot captcha
app
archive
articles
banning
batch
blogs
calculations
calendars
cart
categories
cluster
codemirror
comments
computation
contact us
datachannel
debug
debug console
dropdown with other
error messages
features
file galleries
forums
geo
geocms
geolocation
group homepages
group watches
header
i18n
images
item link
items list
jquery
languages
location
map
maps
maths
menu
menupage
multilingual
ol3
ol5
openlayers
paypal
plugin
plugin alias
plugin datachannel
plugin fade
plugin tabs
plugin trackerlist
pretty trackers
print
project management
r
r project
realnames
rss
static
static text
statistics
stats
structures
syntax highlighter
tablesorter
template
trackers
user watches
visualization
watches
webservice
wiki
wiki argument variables
wiki structures
Tiki Newsletter
Subscribe to the Tiki newsletter.
Don't miss major announcements and other news!