Create a Custom Menu (Moodle)

This article demonstrates how to create a Custom Menu on your Learn Moodle site.

You are able to create the custom menu by entering custom menu items one per line into the setting. Each item is preceded by a number of hyphens (-), the number of hyphens determines the depth of the item. So items that are NOT preceded by a hyphen appear on the top level of the menu (always visible), items with a single hyphen appear on a drop down menu below the previous top level item, and items with two hyphens appear on a drop down menu below the previous first level item and so on - if the theme allows submenus.

The content of each item is constructed of up to three bits, each separated by a | (Shift + \) character. The bits are label url tooltip.

  • label This is the text that will be shown within the menu item. You must specify a label for every item on the menu.
  • url This is the URL that the user will be taken to it they click the menu item. This is optional, if not provided then the item will not link anywhere.
  • tooltip If you provide a URL you can also choose to provide a tooltip for the link that is created with the URL. This is optional and if not set the label is used as the tooltip for the menu item.

The following is an example of how you would create a custom menu:

Lambda Solutions|https://www.lambdasolutions.net/
-Lambda Solutions Blogs|https://www.lambdasolutions.net/blog
Browse Courses|/course/index.php
Calendar|/calendar/view.php?view=month