Blocks: Course Module navigation

Maintained by DigiDago Clément Prudhomme, Picture of Sylvain Revenu Sylvain Revenu
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)
736 sites
55 fans
Add this plugin to your favourites and star it on GitHub to support it!

Course module navigation is a block 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

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 Bas Brands
Bas Brands: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Thomas LE MONS
    Thu, 19 Jan 2017, 7:39 PM
    Bonjour Clément,

    Super, en effet c'est l'option afficher les titres que j'avais modifiée sur "oui", par erreur du coup

    Super plugin !
  • Picture of Patricia Giraldo
    Wed, 3 May 2017, 4:39 AM
    Hello, great plugin. The down arrow doesn't appear in the tabs. How can I fix it?

    Thank you,

  • DigiDago
    Thu, 4 May 2017, 4:16 PM
    Hi Patricia,

    We did not update screenshoots of the plugin. But in the last version, we choose to delete the down arrow. So you can't fix that without modifiy the plugin.

  • Picture of Niall Sheehan
    Sat, 14 Oct 2017, 12:26 AM
    We've noticed that if there is an 'ampersand' in the title of a Topic the navigation block displays & rather than just the & (ampersand). Any suggestions?
  • DigiDago
    Mon, 16 Oct 2017, 6:31 PM
    Hi Niall,
    Thank you for your feedback. We just discover this issue. We will look as soon as possible to fix this.
  • Picture of hassan khodjo
    Mon, 23 Oct 2017, 3:15 AM
    Thanks bro. it's a great plugin. smile
  • Picture of JoJo Magno
    Thu, 26 Oct 2017, 9:40 PM
    Thank you SO MUCH; you just solved one of my biggest concerns in student navigation. I LOVE the fact that the block can remain visible on any kind of course page. <3
  • DigiDago
    Tue, 31 Oct 2017, 6:40 PM
    Hi Niall,
    We just update the plugin for Moodle 34 and fix ampersand bug. Hope you like this new release.
  • Picture of philippe bauge
    Wed, 22 Nov 2017, 11:29 PM
    Bonjour, est-il possible d'afficher ce bloc par défaut pour tous les cours, par défaut ?
    A ce jour, je ne peux que les ajouter un par un pour les cours existants.
    Merci !

  • DigiDago
    Thu, 23 Nov 2017, 7:12 PM
    Bonjour Philippe,

    Vous pouvez réaliser ce type de chose mais cela n'est pas lié au plugin en lui. Il faut intervenir sur les réglages de Moodle pour modifier les blocs par défaut qui apparaissent lors de la création de cours ou dans les cours exisrtants.

    1. Pour les futurs cours / ajouter le bloc dans les cours qui seront créés

    Vous pouvez effectuer ce réglage dans le fichier "config.php" de votre dossier Moodle.

    Par exemple, vous avez parfois dans votre fichier config.php :
    // $CFG->defaultblocks_topics = 'participants,activity_modules,search_forums,course_list:news_items,calendar_upcoming,recent_activity';
    Ce code dit que pour le format de cours "thématique", les blocs listés seront affichés dans le cours (partipants, activités du cours, etc.)

    Si vous souhaitez afficher le block "sommaire de cours" dans les formats de cours "thématique, hebdomadaire, informel" par défaut, il faut modifier le code de la manière suivante :
    $CFG->defaultblocks_social = "course_modulenavigation";
    $CFG->defaultblocks_topics = "course_modulenavigation";
    $CFG->defaultblocks_weeks = "course_modulenavigation";

    2. Pour les cours existants
    Vous pouvez suivre la même procédure. En plus vous devrez utiliser le script qui existe dans Moodle pour réinitialiser tous les cours. Attention, cela aura pour effet de refaire la mise en page de tous les cours et d'éventuellement supprimer les blocs existants.
    Vous trouverez les explicaitons pour effectuer cette manipulation ici (partie Réinitialisation de la disposition des blocs des cours existants) :

    En espérant que cela réponde à votre question

  • Picture of philippe bauge
    Thu, 23 Nov 2017, 10:56 PM
    Merci pour cette réponse !
    Ce plugin remplace le bloc navigation, qui ne me convenait pas.
  • Picture of Simon Dunant
    Thu, 4 Jan 2018, 7:41 PM
    Great plugin - one ommision for me. It would be great if we could have the ability to add custom links to the menu. I want to have a link that redirects back to a specific main course page, and I can only do this with custom links, otherwise I have to add in a custom HTML block too on each page to do this which isn't ideal.
  • Picture of Pavel Sokolov
    Fri, 19 Jan 2018, 10:53 PM
    Great plugin, though i have a few comments/wishes:
    - ability to hide activities/resources from the list (e.g. display only activities but not resources, or even more granular)
    - ability to work with Flexible Sections Format, which allows to have nested sections. currently it lists all subsections on top level of the tree.

    thanks for the efforts, it's really cool!
  • DigiDago
    Sat, 20 Jan 2018, 5:28 PM
    Thank Simon and Pavel for your feedback.
    About possibility to add "custom links", currently we prioritized simplicity so that the plugin is easy to use/understrand by everyone. We can try to see how add custom link but I think it's complicated to offer this option in a simple way and keep the plugin simple.
    @Pavel : About Flexible Sections Format, we don't use this plugin but we can try to check that.

  • Picture of Hernán García
    Thu, 15 Feb 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,

1 2 3
Please login to post comments