Course Module navigation

Blocks ::: block_course_modulenavigation
Maintained by PimenkoClément Prudhomme, Sylvain Revenu, Jordan 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:
1870 sites
109 fans
Current versions available: 8

Add this plugin to your favourites and star it on GitHub to support it!

With Moodle 4.0, a new feature has appeared: the "course index".

It is displayed on the left side of all courses. This course index is very similar to the "course module navigation" block. The only difference between the course module navigation block and the course index is that the names of the activities (mods) are truncated in the course index while the names are in full in the course module navigation.

Another difference is that this plugin is displayed as a block. This means that you can have a course summary with course formats that don't include the course index (such as the tiles course fomart). 

It is for these reasons that Pimenko:

  • Has chosen to continue update the course module navigation block.
  •  we have no plans to add any new features in the near future.

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".

== Last release is compatible with Moodle 3.11and fix some issues ==

  • Fix Travis
  • Fix an issue were section with hidden activities was displayed
  • Sections without modules will no longer be displayed
  • Sections with only hidden modules will no longer be displayed for all users
  • Sections / activities with restricted access will no longer be displayed

== 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)
Sylvain Revenu: Lead maintainer / developer
Jordan KESRAOUI: Maintainer, developer
Bas Brands: Initial developer
Minh Hanh NGUYEN: Moodle expert
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Hernán García
    Thu, Feb 15, 2018, 9:14 PM
    Hi Clément: First of all, amazing plugin, it fits perfectly. We re trying it in a Moodle installation for a National University in Argentina. The idea is to offer something a bit different to the students, in comparison with the default Moodle elements. That’s why we mainly chose your plugin.

    My question is whether there is a way to color randomly each navigation section background (button) with css? to "promote" the navigation course with colors. My PHP knowledge is initial, but if you guide me a little bit where to try it I will definitely work on it.

    Thanks in advanced,

  • helene le gallic
    Wed, Nov 14, 2018, 12:39 AM
    Bonjour Clément,
    je ne sais si mon souci vient d'un mauvais réglage ou d'interférence entre js sur ma plateforme.
    J'ai constaté que lorsque je suis sur une activité, le sommaire ne se déplie pas afin de voir où je suis.
    J'ai indiqué "oui" pour déplier les tabs dans les réglages.
    Merci de votre réponse.

    Version moddole 3.5.1+
  • Sylvain Revenu
    Tue, Nov 20, 2018, 11:31 PM
    Bonjour Hélène,
    nous n'avons pas constaté de bugs de notre côté par rapport à votre cas d'utilisation.
    Nous pensons que c'est probablement un soucis de réglage dans les paramètres du plugin ( Administration du site > Plugins > Blocs > Sommaire du cours ).

    L'option :

    Déplier les tabs
    block_course_modulenavigation | togglecollapse

    Est-elle bien sur "non" ?

    Dans le cas contraire, vous pouvez tenter d’inspecter la page avec Chrome (clique droit sur la page puis inspecter) et voir s’il y a des erreurs dans l’onglet “console”.

    Revenu Sylvain - Digidago Team
  • Federico Zancan
    Thu, Apr 16, 2020, 10:54 PM

    when I check the "Show the current section only" box, every topic in the block links to the last course section (i.e. last topic). Is it possible to solve this?
  • Francisco Pinchulaf Loaiza
    Fri, May 1, 2020, 4:13 AM
    Hey, thanks a lot for the plug-in, it looks great.

    (I'm using the translator)

    I have a question, I organize the courses with activities that have restricted access by qualification.

    and with labels that have buttons to activities that are hidden but available.

    I was looking for a navigation plugin that can show the student a complete overview of the course, showing all activities even if they are not yet accessible because they are restricted or because they are hidden but available.

    Do you think the plugin will ever be able to do that?
  • Tim Tarbotton
    Sat, May 2, 2020, 4:28 PM
    Hi there, this plugin is fantastic. Would you consider adding the ability for clickable labels e.g. I can click on the label in TOC and it will navigate to the appropriate section of the page? I don't need the documents or activities showing just the section names and labels? Appreciate the help.

  • helene le gallic
    Wed, Jun 2, 2021, 4:45 PM
    nos cours sont faits avec le format de cours flexsection; chaque section est accessible à la condition d'avoir effectué une activité quiz. Donc, logiquement, les section apparaissent dans le plugin quand on a réalisé cette activité.
    Depuis la dernière mise à jour du plugin, les profils formateur et gestionnaire n'ont plus accès aux sections en accès restreint par le plugin, qu'ils aient effectués ou non l'activité obligatoire.
    Y a t-il un moyen de corriger cela ?
    En vous remerciant, cordialement.
  • Sylvain Revenu
    Thu, Jun 3, 2021, 8:13 PM
    Bonjour Helene,

    Effectivement nous avons relevé ce problème avec le dernier patch.

    Nous publierons bientôt une version corrective smile

  • Максим Білецький
    Mon, Feb 20, 2023, 10:42 PM
    After install last version of this plg I have blank pages on any start cources pages. Moodle 4.0.2 (Build: 20220711), theme Adaptable.
  • Pimenko
    Tue, Feb 21, 2023, 12:26 AM
    Hi Максим Білецький,

    On our side, we have not noticed any difficulty with Moodle 4.0.2
    Do you get errors when you enable debugging?

  • DTA 28/03/2015
    Fri, Aug 18, 2023, 1:56 AM
    Hi Sylvain.

    Great plugin ! Really Thanks for this wonderfull contribution.

    I just pinpoint a malfunction
    I'm Using version 4.6.0 on a Moodle 3.X (Time missing for upgrading to 4.X) with theme Fordson, and default Section Course format or Designer course format.
    But seems my issue appears also with default Boost Theme.
    For unknown reason, all sections in the menu got the same ID and section ref (eg = .course/view.php?id=23&section=10) which causes navigation issues
    Each time you create a new section, ID is incremented but is attributed on all sections ref.
    Anyway Navigation works good to activities in each section (opening parent section).
    Completion works also very well.

    Any idea to help to fix this or disable href for section titles. I tried with css but do not success right now, because ul/li structure does not permit this.

    Thank for your help.
    Benoit @DiDaXo.
  • DTA 28/03/2015
    Fri, Aug 18, 2023, 5:09 PM
    Update yesterday post Thu, 17 Aug 2023, 5:56 PM

    I got it with a CSS pointer-event. Not perfect but this does the job.

    div.section-title {
    pointer-events: none;

    If anyone has another idea. Shoot
    See you ++
  • Sylvain Revenu
    Mon, Aug 28, 2023, 6:26 PM
    Hello Benoit,

    Sorry for the delay.

    I quickly checked on a Moodle 4.2 version and I don't seem to have any particular problems.

    I will test as soon as possible on a 3.XX version but to my knowledge there were no problems on our last tests.

    Can you please tell me which browser you are using? This kind of issue can sometimes be linked to browsers...

    Best regards,

  • DTA 28/03/2015
    Mon, Aug 28, 2023, 8:05 PM
    Hi Sylvain,

    As requested ; Chrome & Firefox.

    As previously mentioned, personally I found a workaround with CSS
    Not perfect but this does the job in my point of view.
    div.section-title {
    pointer-events: none;
    But could be interesting to have a look from your side.
    Thanks & Regards
  • Miguel Angel de Pablo
    Fri, Sep 29, 2023, 5:54 PM
    The last version (4.6.2) is not compatible with moodle 4.0.2, and should be , in fact appear to upgrade from 4.6 but later appear that requite at least version moodle version 2022041905. Something wrong here.
    Version 4.6 works fine.

    A pity to know end of this plugin, I found different uses that Course Index don't do in the same way, but thanks for your work.
1 2 3 4
Please login to post comments