Blocks: Course Module navigation

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)
851 sites
428 downloads
70 fans
Current versions available: 3
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
Presentation


How to add course module navigation in a Moodle course ?

Add course module navigation

Add course module navigation

Screenshots

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

Contributors

Pimenko
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
Please login to view contributors details and/or to contact them

Comments RSS

Comments

  • 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 https://moodle.org/plugins/local_codechecker

    Thanks for the upload and best regards,
    Ivan
  • 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?

    Thanks,
    Ivan
  • 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.

    Clément
  • 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
    Hi,

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

    Best regards.

    Clément
  • 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!
Please login to post comments