Blocks: Course Menu block

Maintained by Picture of Alex ContisAlex Contis
The Course Menu block for Moodle provides navigation between course sections (topics/weeks)
287 sites
23 fans
Current versions available: 4

The Course Menu block, created and maintained by NetSapiensis AB in Sweden,

The Course Menu block for Moodle provides navigation between course sections (topics/weeks)

The appearance of the block can be controlled with the "Expandable Tree". The topics/weeks can be grouped into chapters and subchapters to facilitate navigation in courses with mani topics/weeks.

There are options to show/hide navigation elements for:

Custom links can be added at the bottom of the block 

This block is released under the GNU General Public Licence


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Alex Contis
Alex Contis (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Picture of Mike Nodding
    Thu, Jul 7, 2016, 3:44 PM
    Hi, any reason the menu when in weekly format doesn't show the default section title with month/day - ie just shows "week 1", "week 2" etc?
  • Picture of Patrick Lemaire
    Thu, Jul 21, 2016, 7:11 PM
    Is there any version for M3.1 ? Actually the last version of this block is not compatible at all with Moodle 3.1 :o(
    Yui seems problematic with the tree view.
  • Picture of Richard Trout
    Thu, Sep 22, 2016, 12:56 PM
    Bump for Moodle 3.1 support. Is this likely?
  • Just wondering . . .
    Fri, Nov 18, 2016, 4:30 AM
    I like the new interface here. I notice Course Menu has not been updated for 226 days 7 hours as of today. Does anyone know if this will be updated for 3.2? I'm just starting to think of the actions I need to work on for an upgrade.

  • Picture of Alex Contis
    Fri, Nov 18, 2016, 4:43 PM
    I just added a version that supports Moodle 3.1 we have not tested it for Moodle 3.2 yet

  • Picture of Patrick Lemaire
    Fri, Nov 25, 2016, 11:18 PM
    Hi Alex,
    Tree view still doesn't work with version '2016093000' on a 3.1.1 version of Moodle :o(
    No expand/collapse...

  • Just wondering . . .
    Sat, Nov 26, 2016, 4:17 PM
    Patrick, have you checked the error logs? Check there is nothing there abut deprecated functions. Good luck.

  • Picture of Patrick Lemaire
    Thu, Dec 1, 2016, 11:47 PM
    I've got « An empty string was passed to "getElementById ()" » when I try to expand a tree branch.
    I am surprised to be the only one with this issue...

  • Picture of Rob Rutten
    Fri, Feb 10, 2017, 7:56 PM
    Patrick and Derek,

    I got the same issue on a clean install of Moodle 3.1.4. Did you find a solution?

  • Picture of George Mihailov
    Wed, Mar 29, 2017, 3:07 AM
    The latest version has __MACOSX folder inside. Can you please reupload the plugin without it.
  • Picture of Patrick Lemaire
    Thu, Apr 13, 2017, 8:11 PM
    Hi George,
    It changes nothing at all...

    Thanks Rob. Happy to see that I'm not the only one who experiment trouble.
  • Just wondering . . .
    Wed, Jun 28, 2017, 7:36 AM
    Moodle 3.3+
    Course menu version 2016093000

    Getting this error:

    pix_url is deprecated. Use image_url for images and pix_icon for icons.
    line 267 of /lib/outputrenderers.php: call to debugging()
    line 150 of /blocks/course_menu/renderer.php: call to renderer_base->pix_url()
    line 56 of /blocks/course_menu/renderer.php: call to block_course_menu_renderer->render_topic()
    line 220 of /blocks/course_menu/block_course_menu.php: call to block_course_menu_renderer->render_chapter_tree()
    line 288 of /blocks/moodleblock.class.php: call to block_course_menu->get_content()
    line 230 of /blocks/moodleblock.class.php: call to block_base->formatted_contents()
    line 1197 of /lib/blocklib.php: call to block_base->get_content_for_output()
    line 1249 of /lib/blocklib.php: call to block_manager->create_block_contents()
    line 374 of /lib/blocklib.php: call to block_manager->ensure_content_created()
    line 3839 of /lib/outputrenderers.php: call to block_manager->region_has_content()
    line 40 of /theme/boost/layout/columns2.php: call to core_renderer->blocks()
    line 1162 of /lib/outputrenderers.php: call to include()
    line 1092 of /lib/outputrenderers.php: call to core_renderer->render_page_layout()
    line 244 of /course/view.php: call to core_renderer->header()

    What do people think about course menu at the moment? Does Boost make it redundant? I'm not yet convinced.

    Rob, George or Patrick: any news??

  • Marc Couture
    Thu, Sep 7, 2017, 1:56 AM
    Has development on this module been abandoned? We are also having problems with it on a Moodle 3.1 installation, the block does not show a retractable tree structure anymore and basically lists all contents of a site, defeating what I believe was its original intent...
  • Picture of Brian Pool
    Wed, Jun 17, 2020, 8:32 AM
    Is there any chance you could update for 3.8? We have used this successfully through 3.5, but in 3.8 it breaks the activity chooser.
  • Picture of Alex Contis
    Thu, Jun 18, 2020, 5:17 PM
    Hello Brian,

    We don't have any plans yet to upgrade Course Menu to Moodle 3.8 or 3.9. Since boost has appeared for Moodle the Navigation block included in it has replaced the Course Menu.
Please login to post comments