Course Module navigation

Blocks ::: block_course_modulenavigation
Maintained by PimenkoClément Prudhomme, Picture of Sylvain RevenuSylvain Revenu, Picture of Jordan KESRAOUIJordan KESRAOUI
A block to show the users a summary (like a table of contents) of a course with section names and a list of all resources and activities. If activity completion is used in the course, course navigation block will display a circle (either empty or green)
Latest release:
1562 sites
90 fans
Current versions available: 5
Add this plugin to your favourites and star it on GitHub to support it!

Course module navigation is a block developed by Pimenko that shows the users a summary (like a table of contents) of a course with section names and a list of all resources and activities (except URLs). 

One objective of this block is to present the course contents and section titles. 

- Clicking at section name will point to section area or section page (for example if you use a course format like one section by page).
- Clicking at resources and activites will display the page of the resource or activity.

This block automatically uses the names of the sections, as well as the names of the resources and the activities. When you use course module navigation, we recommend to use pages to add videos or contents in order to be able to view all resources in the list of the block. If you use labels, contents will not be displayed in course navigation, unless you explicity select this in the plugin options. In case you want to display the course module navigation on all pages of the course (main, activities, resources), make sure to check permission of the block and display it on "every page".

== About activity completion ==
If activity completion is used in the course, course navigation block will display a circle (either empty or green) to display the state of completion.

== 4 Options == 

- When clicking on the title : 'Displays the menu' or 'Goes to that page'.

- Show / hide labels

-Display all tabs collapsed / not collapsed

- Display sections titles and resources/activities / Show only titles

Presentation of course module navigation
Course module navigation presentation

How to add course module navigation in a Moodle course ?

Add course module navigation


Screenshot #0
Screenshot #1
Screenshot #2
Screenshot #3


Clément Prudhomme (Lead maintainer)
Picture of Sylvain Revenu
Sylvain Revenu: Lead maintainer / developer
Picture of Jordan KESRAOUI
Jordan KESRAOUI: Maintainer, developer
Picture of Bas Brands
Bas Brands: Initial developer
Picture of Minh Hanh NGUYEN
Minh Hanh NGUYEN: Moodle expert
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of ivan matviyuk
    Tue, May 31, 2016, 12:41 AM
    Hi Clement,
    I'm reviewing your plugin submission on behalf of the Plugins Guardians for
    acceptance into the Moodle plugins database. So far i managed to test the functionality and it works as expected. I should have full review results tomorrow

    For now, my main concern is the prechecker errors. Can you please fix them? Especially the "not defined" errors in "Javascript coding style problems"; all the others seem trivial to fix. You can re-run the code checker with the block

    Thanks for the upload and best regards,
  • Picture of ivan matviyuk
    Tue, May 31, 2016, 7:49 PM
    Hi Celment,
    I've finished the review and i have some further comments:
    - Gruntfile.js: can you please add the copyright block? Check for a reference /Gruntgile.js (in the Moodle dirroot)
    - version.php: can you please modify "plugin->requires" as it requires Moodle 2.7 while in the plugin description it says 3.0 and above
    - templates/*.mustache: can you also please add the copyright block? Check for a reference /admin/tool/templatelibrary/templates/list_templates_page.mustache
    - block_course_modulenavigation.php: $myactivityid defined in :129 might be not initialized in :202. Can you please consider it declaring somewhere earlier?

  • Pimenko
    Tue, May 31, 2016, 9:07 PM
    Hi Ivan,

    Thank you for your feedbacks and comments. We fix this differents points and back with an update.

    Best regards.

  • Picture of David Mudrák
    Wed, Jun 1, 2016, 9:53 PM

    Thanks Clément for sharing this block with the community and thanks Ivan for detailed peer-review. None of the raised issues looks like a blocker to me so I am happy I can approve this now. You are cleared to land now, welcome to the Plugins directory!

  • Pimenko
    Fri, Jun 10, 2016, 5:15 AM

    We just upload an update of block_course_modulenavigation. We fix some feedbacks from Ivan and check Moodle 3.1 compatibility.

    Best regards.

  • Picture of Jelly Smith
    Fri, Jun 10, 2016, 10:02 AM
    I love this plugin! I can't seem to get an URLs to show up in the Table of Contents, though. Is there an option for that? Thanks!
  • Pimenko
    Fri, Jun 10, 2016, 3:29 PM
    Hi Jelly,

    Thank you for you feedback. I update description of course module navigation because effectively, URL are always hidden. We will see if we can and how integrate your suggestion.

  • Picture of Oliver Trampleasure
    Sat, Jun 11, 2016, 3:41 PM
    Great block, but it appears to be displaying activities that have been hidden from students? If clicked it redirects the student to the course page so isn't a major bug, but is not ideal...

    No idea if this is an easy fix or not, but isn't really useable for me unless I can remove or at least apply a CSS class to hidden elements (this would be perfect).

    Thanks for your hard work
  • Pimenko
    Sat, Jun 11, 2016, 10:29 PM
    Hi Oliver,

    What version are you using ? We fix this bug with our last update (3.1). Now activites and resources with a visibility set to hidden are hidden too in the menu for student or in students view.
Please login to post comments