Your Moodle version

Blocks: Side bar

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

This plugin works by associating a course section with a sidebar block instance. This is done by mirroring the contents of an “orphaned” section. Here’s an example:

  • Let’s assume that a course has 10 sections
  • When you create a Sidebar block, this block will automatically be associated with section 11, which is hidden (orphaned)
  • You can now add resources and activities directory to this Sidebar block. Note that these objects will actually get created in section 11, but they are also shown in the Sidebar block. Any changed made in the Sidebar block will be applied to section 11, and vice-versa.

You can create multiple Sidebar blocks. Each instance will be associated with a different orphaned section. You can also manually select the orphaned section, if needed.

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 combines the main menu block functions and HTML block functions into a single block that can be used in a course

Credits: This block was originally conceived and created by Fernando Oliveira, Justin Filip and Mike Churchward. Prior to 2016, this plugin was maintained by Justin Filip, who was also the lead hand behind the code. This plugin is now maintained by Fernando Oliveira.   


Screenshot #0
Screenshot #1
Screenshot #2


Picture of Fernando Oliveira
Fernando Oliveira (Lead maintainer)
Picture of Justin Filip
Justin Filip: Former 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??
  • Picture of David Mudrák
    Mon, Jan 11, 2016, 4:45 PM

    I am happy to announce that this plugin is now maintained by Fernando Oliveira who was one of the original authors of it. Thanks Justin for all the work on this, and good luck Fernando!

Please login to post comments