Blocks: NED - Sidebar

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

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.   


This plugin is part of set NED.


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


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, 17 May 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, 27 May 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, 20 Jun 2014, 10:59 PM
    Hi Justin,
    Thanks for making this plugin, so useful and works beautifully.
    Nick Varney
  • Picture of Justin Filip
    Mon, 30 Jun 2014, 8:27 AM
    Hi Nick,

    Glad to hear you're finding the plugin useful.
  • Picture of Luis Herrera Noguera
    Thu, 17 Sep 2015, 6:16 AM
    Hi. Does it work with Moodle 2.8??
  • Picture of David Mudrák
    Mon, 11 Jan 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!

  • Picture of Henning Bostelmann
    Thu, 14 Jul 2016, 12:15 AM
    thanks for continuing the development of this block! However, I'm a bit confused. Previous versions of the plugin were called block_side_bar (and that's what the title of this page still says). However, it seems that in the code, the plugin has now been renamed to block_ned_sidebar. Is the new version compatible with (or rather upgradeable from) previous versions? I guess if I just install the new version on a system that had an old block_side_bar before, then my existing block instances will be lost, is that correct?
  • Picture of Glenn Vermeiren
    Tue, 5 Sep 2017, 5:59 PM
    Will there be a version for Moodle 3.3?
Please login to post comments