Fullscreen
[Show/Hide Right Column]

Menu HOWTO


This tutorial briefly introduces the use of custom menus in Tiki. We quickly set up a custom menu, and introduce module assigment to specific groups. (A menu can also be made and then assigned as a "topbar menu" to display at the top of the site's pages. Make the menu as described below and then rather than put it in a module, enter its id number in on the Look and Feel admin page. The discussion below, though, covers how to use the menu in a side-column module.)

For purposes of this tutorial, we presume you are logged in as admin of your basic Tiki install.

In Tiki we call those boxes visible in the left and right columns Modules. The default Tiki installation has the application_menu module and the login_box modules assigned.

Image In a default Tiki installation modules are displayed to all users always.

How to Create a Menu visible to all users

  • By default modules are displayed to all users always. See below how-to assign modules to a specific group.
  • First, Create a new Menu: Go to Admin -> Menu and create a new menu. See Menu for details.
    • Include some options in your menu:
      • For example the link tiki-index.php could be titled Home as in the default application_menu.
  • Second, Create a new Module: Go to Admin -> Modules and create a new module. See
    • Set the Title of the Module as you would like to see the modules/menu title to appear in the columns.
    • The Name of the Module will be used to identify the module as assigned in Module Admin
    • Include your Menu in the Module:
      • Choose from available Tiki Objects to be included in the Module your new Menu.
      • Or include the menu by typing the resource identifier in the module: e.g.: ''{menu id=1}.
  • Finally, Assign your Module:
    • Choose your new module to appear in the left or right column in a specified order, assigned to some group. (As all users can see all modules by default yet, your group specific assignments will not be seen.)

How to Assign Modules to specific Groups

Now we are going to separate which modules specific groups of user can see and access in your Tiki.
  • First of all, go to Admin -> Modules and we recommend you assign at least the application_menu and the login_box to the anonymous group. You should also assign your custom menus and other modules to group anonymous.

Image You do not have to assign the login_box module. You can log in to your Tiki using

  • Now turn off display modules to all groups in Admin -> General.
    • If you now log out of your Tiki, there should be no great differences, if you have assigned your modules to groups.
    • From now on, you will be able to assign each module to a specific group, and that module will be seen by that group as assigned in order in the columns.

Image The nesting of groups in Groups Management is an easy way of assigning modules to hierarchies of users.

More information
If you need more help after this short page, please read "Custom Menus".


Contributors to this page: Daniel Gauthier1231 points  , Jean-François B.1662 points  , Gary Cunningham-Lee1539 points  , Marco Aurélio Silva41 points  , campbe13658 points  , TheDoc27 points  , Xavi67871 points  , xavidp1213 points  and ang2 points  .
Page last modified on Saturday 27 November, 2010 00:01:30 UTC by Daniel Gauthier1231 points .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

These keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):



Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki