InMotion Hosting Support Center

When navigating through the Moodle 2.3 site, the left navigation tree can be a bit annoying when it keeps expanding out every time the site is navigated. This can be set to a different configuration by editing the Navigation block. The principle for editing the navigation block is the same with all the other blocks as well. For example, the Main menu and the Settings blocks can be edited in the same way the Navigation block is configured. Previously, the appearance of the calendar was changed. In this article, the appearance of the Navigation block will be discussed.

Editing the Navigation block

  1. Log into the Moodle Dashboard

    Important! Keep in mind that Editing must be turned on in the Settings section in order to edit any of these options.

  2. edit-navigation-block-1-before-moodleNavigate to the home page of the Moodle site. On the sidebar where the navigation block is located, the courses will display a tree style navigation for the courses.

    The courses will by default expand the Categories, Courses, and the Activities in the courses similar to the snapshot to the right.

    edit-navigation-block-2-edit-moodleTo edit the way this displays the Courses in this block, click the configuration edit link on the navigation block header.

  3. edit-navigation-block-3-configure-moodleOn the Configuring a Navigation blockpage, change the options to have the navigation block display differently. In this tutorial, change the following:

    - Set Display categories as links to Yes
    - Set Generate navigation for the following to Categories and courses

    Below are the available settings for configuring the Navigation block.

    Configuring a Navigation block
    Block settings Allow the user to dock this block: Users can have the capability to move the navigation blocks from one location to another. By default this is set to Yes. This capability can be turned off by setting it to No.
    Display categories as links: The Categories are not links by default. This setting will allow the links to the categories in the Navigation block to be links.
    Trim mode: This truncates long Course, category and activity names to display in a set width of the navigation block.
    How many characters to trim to: Sets the number of characters to trim.
    Generate navigation for the following: The Categories can be set to display the course structures or the course activities as sub menus under the course. The default will display the course activities on the navigation block.
    Where this block appears Original block location: The block location is set to system by default.
    Page contexts: The navigation block can be set to only display on the Front page, throughout the site, or on the front page and any pages added to the front page.
    Default region: The Navigation block can be displayed on the left or the right of the site.
    Default weight: The weight will place the block in a specific position on the site. The lower the number, the higher on the sidebar. The higher the number, the further down it will display on the sidebar.
    On this page Visible: The block can be hidden or shown on a per page basis.
    Region: The navigation block can be displayed left or right on a per page basis.
    Weight: The weight will place the block in a specific position on the sidebar on a per page basis.

    When finished. click Save changes.

    edit-navigation-block-4-after-moodleNow when visiting the Navigation block, the categories will be click-able links and the Courses will not have the Activities tree menu displayed anymore.

This concludes the article for Configuring the Navigation block in Moodle. To learn how to remove blocks, see the article on Adding and Deleting blocks from the Moodle sidebar. For more information about articles on the appearance of Moodle, please visit Changing the Appearance of Moodle.

Was this article helpful?
Continued Education in Course 107: Changing the Appearance of Moodle
You are viewing Section 11: Configuring the Navigation block in Moodle
Section 10: Changing the Appearance of the Calendar in Moodle
Section 12: Adding and Deleting blocks from the Moodle sidebar
n/a Points
2014-09-23 2:01 am

can i restrict the course and category links in navigation block to only one role

31,595 Points
2014-09-23 10:09 am
Hello anil,

Thank you for your question. I found a possible solution in the Official Moodle forums, you have to create a free account to view it.

Jason De Donno provided the following solution:
  1. "Go to the Front Page.

  2. Add the block you want using the Add Block control

  3. Once the block is present, click on the block's configuration (hand holding pen) and make sure that it's set to display on the Front Page only

    This takes care of the making it display on the front page only.

  1. Click on the Assign Roles button on your block (face)

  2. Ignoring the "You are not able to assign any roles here" message, go to the settings block and click on "Permissions"

  3. Where it says "view Block" click on the "+" sign and add "Manager".

  4. Remove all the other types of users by clicking on the crosses after their them."

If you have any further questions, feel free to post them below.

Thank you,
n/a Points
2014-08-18 6:02 am

Thanks for sharing moodle related information

n/a Points
2014-07-14 3:35 am



Thnak for ur information..i want to know how to get the menu againg..if once hide the section..

11,186 Points
2014-07-14 10:28 am
Your question is a bit unclear. Could you clarify?
n/a Points
2014-09-20 6:41 am

If I hide navigation block on first page, how do I get it back?

31,595 Points
2014-09-22 2:05 pm
Hello Clarification,

Thank you for your question. In Step 3 see if the "On this Page" section has Visible set to: Yes. The picture next to "Step 3" shows the setting.

If that doesn't work, we are happy to help, but will need to know some additional information, such as how you hid the navigation.

Thank you,

Post a Comment

Email Address:
Phone Number:

Please note: Your name and comment will be displayed, but we will not show your email address.

7 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?


Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail:
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!