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

Navigation block: Difference between revisions

From MoodleDocs
No edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Blocks}}
{{Blocks}}
The navigation block appears on every page of the site. It contains an expanding tree menu which includes Dashboard, Site Pages and Courses. What appears in the navigation block depends on the role of the user, where they are in the Moodle site, and any settings that have been applied globally. See the screencast [http://youtu.be/l5WnSpoLHlIThe Navigation block].


==Overview==
{{Note|Since Moodle 3.2, the navigation block has been replaced by a navigation drawer used with the Boost theme.'''}}


== '''Русский язык''' ==
While the [[Boost theme]] does not need the navigation block, other themes such as Clean, the [[More theme]] or themes from the [https://moodle.org/plugins/?q=type:theme Plugins directory] might still require it.
==Overview==
 
The navigation block has links which can be expanded or collapsed.When logged in, a regular user will see the following as default:
*If enabled, the  navigation block will appear on every page of the site. It contains an expanding tree menu which includes Dashboard, Site Pages and Courses. What appears in the navigation block depends on the role of the user, where they are in the Moodle site, and any settings that have been applied globally.
*The administrator can change settings (such as the default home page) from Navigation in Site Administration.
*If the [[Dashboard]] is forced and the navigation block hidden, students will find it harder to see courses they are not enrolled in.


[[File:navblock29.png]]
When logged in, a regular user will see the following as default:


===Dashboard===
===My home===
This takes the user directly to their personal [[Dashboard]].
This takes the user directly to their personal dashboard, sometimes known as My Moodle


===Site pages===
===Site pages===
This expands to show pages and resources available site wide, for example, user blogs and a calendar. Any items which have been added to the front page, such as resources/activities from the Main Menu block, or the Site News will also appear here. Other items depend on the role of the user, so an administrator will see notes, for instance.
This expands to show pages and resources available site wide, for example, user blogs and a calendar. Any items which have been added to the front page, such as resources/activities from the Main Menu block, or the Site News will also appear here. Other items depend on the role of the user, so an administrator will see reports and notes, for instance.
 
===My profile===
This expands to allow regular users to view (and, if allowed, edit) their profile, view their forum posts, view and add and blog entries and messages and access their private files, providing these features have been enabled by the administrator. The administrator will also have a link here to Notes and Activity reports.
 
===My courses===
This expands to show courses the user is enrolled in. Note that an administrator sees this link as "Courses", which expands to the course categories. Once inside a course, the block expands to show each section of the course and items in that section.
 
==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.
 
With the editing on, 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.


[[File:navblockstudentadmin.png]]
===Trimming===
Long titles wrap over several lines, and this can affect the readability of a menu.


=== My courses===
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.
This expands to show the courses the user is  enrolled in. An administrator sees this link as "Courses", which expands to the course categories.


===Navigation inside a course===
===Generate Navigation for the following===
The options in this setting allow you to configure how far the menu should expand.


====Current course====
'''Everything'''
When  user is in a course, this link expands to show each section of the current course and any activities/resources which are in that section.
the menu expands to allow access to any page in any of your course areas.


====My courses====
'''Categories and courses'''
When a non-admin user  clicks this link in a course, it expands to show other courses they are enrolled in.
the menu expands as far as listing links to the course areas in each category.


====Courses====
'''Categories, courses and course structures'''
If the administrator has enabled "show all courses" in ''Administration>Site administration>Appearance>Navigation'', then clicking on this link in a course will take the user to the courses index page course/index.php.
the menu expands as far as listing the section titles in each course area (these display unlinked).


{|
'''Categories, courses and course activities'''
|[[File:24navblock.png|thumb|The navigation block inside a course, showing current courses, my course and (all)courses]]
the menu expands to allow access to any page in any of your course areas.
|}


==Navigation block settings==
==Examples==
Here are examples of the navigation block:
<gallery widths="400px" heights="400px" perrow="3">


An administrator can change navigation settings, such as the default home page, and whether to show course categories in the navigation, in ''Administration > Site administration > Appearance > Navigation''. See [[Navigation]] for details.
Image:AdminSiteAdminBlock.png|Navigation block on front page  
Image:NavBlock32.png|Navigation block in a course


==Hiding the navigation block==
</gallery>
* One way to make it harder for students to see other courses they are not enrolled in, is to force the [[Dashboard]], and then hide the navigation block.
* This will push all users to the Dashboard on login, where they will see a list of those courses that they are enrolled in.
* Hiding the navigation block will make it harder for them to find the other courses.


==FAQ==
==See also==


===Can you change what links are available in the navigation block?===
[[Navigation]]
Currently there are no admin settings to modify what is available in this block except as indicated above.  To do this requires a code hack.


This could change.  See the discussion here: https://moodle.org/mod/forum/discuss.php?d=218358 and the tracker item here to do with options to change the settings block: http://tracker.moodle.org/browse/MDL-36585
Contributed plugins with similar functionality:


Or you can always try some contrib (3rd party) Navigation blocks that allow you to setup what is available on the menu.
* [https://moodle.org/plugins/view.php?plugin=block_fn_my_menu FN My Menu]
* [https://moodle.org/plugins/view.php?plugin=block_fn_my_menu FN My Menu]
* [https://moodle.org/plugins/view.php?plugin=block_course_menu Course Menu]
* [https://moodle.org/plugins/view.php?plugin=block_course_menu Course Menu]

Latest revision as of 18:19, 5 January 2018


Overview

Note: Since Moodle 3.2, the navigation block has been replaced by a navigation drawer used with the Boost theme.


While the Boost theme does not need the navigation block, other themes such as Clean, the More theme or themes from the Plugins directory might still require it.

  • If enabled, the navigation block will appear on every page of the site. It contains an expanding tree menu which includes Dashboard, Site Pages and Courses. What appears in the navigation block depends on the role of the user, where they are in the Moodle site, and any settings that have been applied globally.
  • The administrator can change settings (such as the default home page) from Navigation in Site Administration.
  • If the Dashboard is forced and the navigation block hidden, students will find it harder to see courses they are not enrolled in.

When logged in, a regular user will see the following as default:

My home

This takes the user directly to their personal dashboard, sometimes known as My Moodle

Site pages

This expands to show pages and resources available site wide, for example, user blogs and a calendar. Any items which have been added to the front page, such as resources/activities from the Main Menu block, or the Site News will also appear here. Other items depend on the role of the user, so an administrator will see reports and notes, for instance.

My profile

This expands to allow regular users to view (and, if allowed, edit) their profile, view their forum posts, view and add and blog entries and messages and access their private files, providing these features have been enabled by the administrator. The administrator will also have a link here to Notes and Activity reports.

My courses

This expands to show courses the user is enrolled in. Note that an administrator sees this link as "Courses", which expands to the course categories. Once inside a course, the block expands to show each section of the course and items in that section.

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.

With the editing on, 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.

Examples

Here are examples of the navigation block:

See also

Navigation

Contributed plugins with similar functionality: