Quantcast
Channel: moodle – Graeme Boxwell
Viewing all articles
Browse latest Browse all 3

Sticky blocks in Moodle 2 – stuck?

$
0
0

We have been having a few difficulties with the way blocks work in Moodle 2 compared to Moodle 1.9, especially with blocks that you wish to use as sticky blocks. Sticky blocks are a type of block in Moodle 1.9 that you use when you want a block to be added to the MyMoodle page or on course pages. Fairly straightforward – you go to Modules > Blocks > Sticky Blocks to configure.

With Moodle 2, there are no sticky blocks. You need to add a block at a particular level and then look at the context of the block. So you could in theory add a block a particular course catergory page, and then edit the block context to say “Display on Category:’mycategoryname’ and any pages within it”. This should put the block on every site page in that catergory. But it doesn’t.

We found that this would always revert back to “Display on Category only”, meaning the block wouldn’t appear on any course sites, only the overall category page. Slightly frustrating and not at all intuitive.

We have one block that we wanted to put throughout all the course categories and here is the method we had to do:

  1.   Go to the frontpage and add the block there.
  2.   Edit the configuration so that ‘page contexts’ read “Display thoughout entire site”, and in the ‘On This Page’ section change it so visible is ‘no’.
  3.   Browse to one of the courses and edit the block configuration there.
  4.   Change the ‘Display on Page Types’ setting to be “Any Course Page”, or if you only want it on the front page – “Any type of course main page”

It is not the most intuitive way of adding a block to all the course pages. It also doesn’t seem to work for individual course categories so I couldn’t add a block to one category and not another. If anyone knows any ways to do this, please let me know.

Is anyone else having issues with sticky blocks in Moodle 2?


Viewing all articles
Browse latest Browse all 3

Latest Images

Trending Articles





Latest Images