The top navigation menu can be customized. It's very important to understand however that once you customize it, any further modifications that Dual Code may make to the menu will no longer apply to your system. In other words, if Dual Code releases a new report for Supervisors and adds it to the "My Team" section of the top menu, this link will appear for learning environment that use the default menu, but it will not appear automatically if you're customized the menu
Step-by-step Guide
To customize the menu:
- Go to Site Administration > Appearance > Themes > English (or French) > Settings
- Go to the "Other" tab
- Define your own custom menu (see the "Structure of the Menu Entries" below).
- Click on the "Save changes" button at the bottom of the page
Excerpt |
---|
Structure of the Menu EntriesEach line consists of required and optional parameters separated by the pipe “|” character. The parameters include:
Following is an example of a menu entry with all available options. FAQ|/our-lms-faq |FAQ|en|local/dualcode:authenticated In this example, a menu entry named "FAQ" will display HTML page called “our-lms-faq” when the site is viewed in English and the user is logged in. Creating SubmenusSubmenu entries are created by putting a dash “-“ at the start of the line. For example: FAQ
Leveraging Tokens in MenusIt is possible to use tokens, also known as placeholders, in the menu. This is generally used to display dynamic data. Please see the /wiki/spaces/releases/pages/34996624 article for more information. |
Restricting Access to a Menu
Custom menus items will be visible to all users, including users who haven't logged in, unless you restrict access to them by specifying required capabilities.
...
User Group | Capability |
---|---|
Everyone (including users who are not yet logged in) | No option is required to show a menu item to everyone |
All logged in users | local/dualcode:authenticated |
System Administrators | local/serverhealth:view |
Supervisors & System Administrators | moodle/site:viewreports |
Default Menu
The following is the default menu installed on your system as a reference. Note that this menu may vary depending on your version of the software.
...