Customizing the Navigation Bar (Top Menu)
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
Structure of the Menu Entries
Each line consists of required and optional parameters separated by the pipe ā|ā character. The parameters include:
The menu text
A link URL (optional)
A tooltip title (optional)
A language code (en or fr_ca) or comma-separated list of both codes for displaying the menu entry to users of the specified language only (optional)
A capability or comma-separated list of capabilities for displaying the menu entry to users with the specified system capability only (optional).
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 Submenus
Submenu entries are created by putting a dash ā-ā at the start of the line. For example:
FAQ
-Standard Topics|/standard_topics
-Special Topics|/special_topics
In this case, FAQ would be the main menu entry and āStandard Topicsā and āSpecial Topicsā would appear in the drop-down menu when you click FAQ.Ā
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.
A common requirement is to show different menus to authenticated users and non-authenticated users. Ā To facilitate this requirement, you should be aware of the following common 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.
Course Catalogue|#|Course Catalogue|en
-By title (A to Z)|/local/coursecatalog/index.php?catalog=1|By title (A to Z)|en
-By topic|/local/coursecatalog/index.php?catalog=2|By topic|en
-By format|/local/coursecatalog/index.php?catalog=3|By format|en
-By date|/local/coursecatalog/index.php?catalog=4|By date|en
-By keyword|/local/coursecatalog/index.php?catalog=5|By keyword|en
-OCI Marketplace|/local/oci/marketplace.php|OCI Marketplace|en|local/ocihub:viewCatalogue de cours|#|Catalogue de cours|fr_ca
-Par titre (A Ć Z)|/local/coursecatalog/index.php?catalog=1|Par titre (A Ć Z)|fr_ca
-Par sujet|/local/coursecatalog/index.php?catalog=2|Par sujet|fr_ca
-Par modalitƩ|/local/coursecatalog/index.php?catalog=3|Par modalitƩ|fr_ca
-Par date|/local/coursecatalog/index.php?catalog=4|Par date|fr_ca
-Par mot clƩ|/local/coursecatalog/index.php?catalog=5|Par mot clƩ|fr_ca
-MarchƩ OCI|/local/oci/marketplace.php|MarchƩ OCI|fr_ca|local/ocihub:viewCompliance Overview|/local/program/progressreport.php|Compliance Overview|en|local/dualcode:authenticated
AperƧu de la conformitƩ|/local/program/progressreport.php|AperƧu de la conformitƩ|fr_ca|local/dualcode:authenticated
[[mycourses]]
My Team|#|My Team|en|report/compliance:view
-Compliance Summary|/report/compliance/summary.php|Compliance Summary|en|report/compliance:view
-Program Completion|/local/program/report.php|Program Completion|en|report/courses:viewreport
-Learning Records|/report/lrsdata/index.php|Learning Records|en|local/lrsdata:view
-Performance Appraisals|/local/appraisal/appraisal/index.php|Performance Appraisals|en|local/appraisal:appraiseusers
-Epic Systems|#|Epic Systems|en|local/epic:view
--Training Tracks > Registrations|/report/epic_trainingtracks/report.php|Registrations|en|report/epic_trainingtracks:view
--Training Tracks > Change Requests|/report/epic_trainingtracks/requests.php|Change Requests|en|report/epic_trainingtracks:managerequests
--Completion|/report/epic_completion/index.php|Completion|en|report/epic_completion:view
--Class Registration Rates|/report/epic_registrationrate/index.php|Class Registration Rates|en|report/epic_registrationrate:view
Mon Ć©quipe|#|Mon Ć©quipe|fr_ca|report/compliance:view
-Sommaire de la conformitƩ|/report/compliance/summary.php|Sommaire de la conformitƩ|fr_ca|report/compliance:view
-AchĆØvement des programmes|/local/program/report.php|AchĆØvement des programmes|fr_ca|report/courses:viewreport
-Records d'apprentissages|/report/lrsdata/index.php|Records d'apprentissages|fr_ca|local/lrsdata:view
-Ćvaluations du rendement|/local/appraisal/appraisal/index.php|Ćvaluations du rendement|fr_ca|local/appraisal:appraiseusers
-Epic Systems|#|Epic Systems|fr_ca|local/epic:view
--Programmes > Enregistrements|/report/epic_trainingtracks/report.php|Enregistrements|fr_ca|report/epic_trainingtracks:view
--Programmes > RequĆŖtes de changements|/report/epic_trainingtracks/requests.php|RequĆŖtes de changements|fr_ca|report/epic_trainingtracks:managerequests
--AchĆØvement|/report/epic_completion/index.php|AchĆØvement|fr_ca|report/epic_completion:view
--Taux d'enregistrement des classes|/report/epic_registrationrate/index.php|Taux d'enregistrement des classes|fr_ca|report/epic_registrationrate:viewContact Us|/contactus|Contact Us|en
Nous joindre|/contactus|Nous joindre|fr_ca