Note: You are currently viewing documentation for Moodle 2.9. Up-to-date documentation for the latest stable version of Moodle may be available here: Navigation block.

Navigation block: Difference between revisions

From MoodleDocs
(removing page notes link - thanks Mira :-) see also forum discussion link)
m (Reverted edits by Bamaqiuzhen (talk) to last revision by Mary Cooch)
 
(40 intermediate revisions by 10 users not shown)
Line 1: Line 1:
{{Navigation}}
{{Blocks}}
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 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].
 
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==
==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.
The navigation block has links which can be expanded or collapsed.When logged in, a regular user will see the following as default:


{|
[[File:navblock29.png]]
| [[Image:Navigation block col std theme 1.png|frame|center|Navigation block on Front Page]]
| [[Image:Navigation block expanded std 1.png|frame|center|Site Front Page links expanded]]
| [[Image:Navigation block courses expanded 1.png|frame|center|Front Page, course links expanded]]
| [[Image:Navigation block course courses 1.png|frame|center|A course's links expanded]]
|}


==Navigation Block settings==
===Dashboard===
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.
This takes the user directly to their personal [[Dashboard]].


Log in, go to the course area, Turn Editing On, then select the Edit icon in the Navigation Block. Then configure the following settings.
===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.


===Allow users to dock this block===
[[File:navblockstudentadmin.png]]
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===  
=== My courses===
As long as Display Categories is enabled in Site Administration > Appearance > Navigation (which it is by default), this setting can be enabled.
This expands to show the courses the user is enrolled in. An administrator sees this link as "Courses", which expands to the course categories.


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. 
===Navigation inside a course===


===Trimming===
====Current course====
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.


Long titles wrap over several lines, and this can affect the readability of a menu.  
====My courses====
When a non-admin user  clicks this link in a course, it expands to show other courses they are enrolled in.


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.
====Courses====
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.


===Generate Navigation for the following===
{|
 
|[[File:24navblock.png|thumb|The navigation block inside a course, showing current courses, my course and (all)courses]]
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.
==Navigation block settings==


===Page contexts===
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.
;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]===
==Hiding the navigation block==
* 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.


==To hide the Navigation Block==
==FAQ==
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.
===Can you change what links are available in the navigation block?===
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.


==See also==
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


*Using Moodle [http://moodle.org/mod/forum/discuss.php?d=115620 What is the structure of a Moodle site?] forum discussion
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_course_menu Course Menu]
* [https://moodle.org/plugins Search for more...]


[[Category:Block]]
[[es:Bloque de navegación]]
[[eu:Nabigazioa_blokea]]
[[eu:Nabigazioa_blokea]]
[[de:Navigation-Block]]

Latest revision as of 10:23, 25 August 2015

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 Navigation block.

Overview

The navigation block has links which can be expanded or collapsed.When logged in, a regular user will see the following as default:

navblock29.png

Dashboard

This takes the user directly to their personal Dashboard.

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.

navblockstudentadmin.png

My courses

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

Current course

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.

My courses

When a non-admin user clicks this link in a course, it expands to show other courses they are enrolled in.

Courses

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 navigation block inside a course, showing current courses, my course and (all)courses

Navigation block settings

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.

Hiding the navigation block

  • 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

Can you change what links are available in the navigation block?

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

Or you can always try some contrib (3rd party) Navigation blocks that allow you to setup what is available on the menu.