Your Moodle version

Blocks: Side bar

Maintained by Picture of Justin Filip Justin Filip
Allows the functionality of the Site main menu block to work within courses.

This block allows you to create separate activities and resources in a course that do not have to appear in course sections. The block can have multiple instances of itself within a course with each instance having its own unique group of activities and resources. Each instance can also have its own configured title.

It functions by creating course sections for each block instance, starting at a number beyond what is currently visible within the course. This prevents the activities from appearing to users who do not have permission to manage content within the course.

If you add extra section to a course using this block, a link will appear within the now-visible Side Bar block section that will execute a script to move the affected section (or sections when using multiple block instances) to be found after the last visible course section.

All resources and activities within a block can be edited and moved around just like normal activities when editing is turned on. Adding label resources allows you to add text to the blocks as well.

In a sense, this block combined the main menu block functions and HTML block functions into one block that can be used in a course.


Screenshot #0
Screenshot #1
Screenshot #2


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

Comments RSS

Show comments
  • Picture of David Mudrák
    Sat, May 17, 2014, 5:47 AM
    Hi Justin.

    Firstly, many thanks for sharing this plugin with the Moodle community. And
    especially for having the 2.7 version of it ready by now. It's nice to see a
    mature, well written and maintained plugin here. I am going to approve it now,
    with some suggestions for formal improvements.

    Please provide a documentation URL. In your case, I would say that might
    serve well for now, unless your realize you need to extend it (to use our docs
    or github wiki, for example).

    Please consider adding a screenshot of your plugin to help folks get an idea
    of what it looks like when installed. It would really help in this particular

    I can see "cm_info::get_url() is deprecated, please use the property
    cm_info->url instead." in 2.7 which I'm sure you are aware of.

    WRT the plugin name, what about changing it in the 'en' package to 'Side bar'.
    In Moodle, we do not capitalise titles and such change could be done in the
    en_us pack for the block. Also note, plugins are supposed to contain just the
    'en' language pack. All other translations should be processed exclusively via

    Thanks again, and welcome in the directory smile
  • Picture of Justin Filip
    Tue, May 27, 2014, 7:15 AM
    Hi David, thanks for the suggestions. I've implemented all of them and updated the release versions for the block.
  • Picture of Nick Varney
    Fri, Jun 20, 2014, 10:59 PM
    Hi Justin,
    Thanks for making this plugin, so useful and works beautifully.
    Nick Varney
  • Picture of Justin Filip
    Mon, Jun 30, 2014, 8:27 AM
    Hi Nick,

    Glad to hear you're finding the plugin useful.
  • Picture of Luis Herrera Noguera
    Thu, Sep 17, 2015, 6:16 AM
    Hi. Does it work with Moodle 2.8??
Please login to post comments