
Blocks: Course Module navigation
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

How to add course module navigation in a Moodle course ?

Thanks bro. it's a great plugin.
We just update the plugin for Moodle 34 and fix ampersand bug. Hope you like this new release.
A ce jour, je ne peux que les ajouter un par un pour les cours existants.
Merci !
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) : https://docs.moodle.org/3x/fr/Disposition_des_blocs
En espérant que cela réponde à votre question
Ce plugin remplace le bloc navigation, qui ne me convenait pas.
- 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!
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.
++
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,
4aLifeTime
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.
Cordialement.
Hélène
Version moddole 3.5.1+
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”.
Coordialement,
Revenu Sylvain - Digidago Team
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?
(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?