Note: You are currently viewing documentation for Moodle 2.0. Up-to-date documentation for the latest stable version is available here: Navigation block.

Navigation block

From MoodleDocs

The Navigation Block is a feature of Moodle 2.0, and contains an expanding tree menu. Default menu items include My Home, Site Pages, My Profile, and Courses.

The block's appearance and location can be Theme dependent. This block can also appear in a course. The navigation block contents depends upon the global settings, context, and the role of the user.

Overview

The navigation block has links which can be expanded or collapsed. Here are examples of a 2.0 Standard theme's navigation block in collapsed mode and one that has the higher links opened one level.

Navigation block on Front Page
Site Front Page links expanded
Front Page, course links expanded
A course's links expanded

Navigation Block settings

Site Administrators can configure the site level Navigation Block. Teacher and Student roles have limited options to configure the position of the Navigation Block on their MyMoodle page.

Log in, go to the course area, Turn Editing On, then select the Edit icon in the Navigation Block. Then configure the following settings.

Allow users to dock this block

This allows users to free up screen area if they need to, displaying a link to the Navigation Block in a tab at the side.

Display categories as links

As long as Display Categories is enabled in Site Administration > Appearance > Navigation (which it is by default), this setting can be enabled.

Where Categories display as links, clicking on those links opens the category page, whereas clicking on the small arrowhead pulls down a further menu of its courses. It may be helpful to induct users to this distinction.

Trimming

Long titles wrap over several lines, and this can affect the readability of a menu.

Enabling trimming removes characters which exceed an optional limit for each menu item. There is an option to remove characters from the beginning, middle, or end of the title.

Generate Navigation for the following

The options in this setting allow you to configure how far the menu should expand.

Everything
the menu expands to allow access to any page in any of your course areas.
Categories and courses
the menu expands as far as listing links to the course areas in each category.
Categories, courses and course structures
the menu expands as far as listing the section titles in each course area (these display unlinked).
Categories, courses and course activities
the menu expands to allow access to any page in any of your course areas.

Page contexts

Display on front page only
the menu will be visible only on the front page
Display on the front page and any pages added to the front page
the menu will be visible on the front page and pages added to it, but not on individual course area pages (for each course area there's the option to enable a separate, configurable Navigation Block).
Display throughout the entire site
the menu will be visible on every page of the site (n.b. there's the potential for confusing duplication if a Navigation Block is enabled for a course area).

[And the rest of the settings TBC]

To hide the Navigation Block

Administrators can hide the Navigation Block at course level via Site Administration > Plugins > Blocks. This is site wide, therefore drastic, and should only be pursued after consultation.

At course area level, Teachers can hide their Navigation Block by clicking its Pen/Hand icon to access its Settings, clicking Permissions, and removing from Authenticated User the View Block capability.

See also