Blocks: Course overview (legacy)

Maintained by Picture of Howard Miller Howard Miller
The Course overview block is visible on a user's Dashboard and shows a list of all courses in which a user is enrolled/has an assigned role.
1014 sites
6 fans
This plugin is provided as an alternative to the new Course Overview block that appeared in Moodle 3.3 and may stop working in Moodle 3.7. By that time all contributed modules should be compatible with the new course overview API and work with the standard block_myoverview.

This is a legacy version of the block which used to be part of the standard Moodle installation. Starting with Moodle 3.3, the block has been moved to the Plugins directory and can be installed as an additional plugin.

The block appears on the Dashboard. Activities with due dates and unread forum posts are displayed for each of the courses in the block. Clicking on an icon will expand the setting to give more information and direct the user to the relevant activity. In the case of assignments, they will only display when the student needs to submit - or resubmit - and for teachers, when they have assignments which need grading.

NOTE: When adding the block it will first appear in the sidebar with other blocks. You should edit the block and change it's location to the 'content' section (or whatever the main dashboard area is called in your theme).

See more information at Course overview (legacy) page in Moodle docs.


Screenshot #0
Screenshot #1


Picture of Howard Miller
Howard Miller (Lead maintainer)
Picture of Moodle HQ
Moodle HQ: Original maintainer
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Howard Miller
    Thu, 30 Nov 2017, 4:44 AM
    Hi Séverin, I'm not sure about not removing from the course tab to add to favourites. Can you 'sell it to me'? The black X *should* be clickable. I must admit that I didn't try it in the Clean theme - I will. I'd be perfectly happy if users posted Issues in Github. I don't think I ever look at the Blocks or General plugins forums. I probably should.
  • C'est moi :-)
    Fri, 1 Dec 2017, 9:43 PM
    Hi Howard,
    I'll try to give some exemples : on a website, when you select an article as favourit, you still see it in the general navigation. On this Moodle plugin directory, if you define a plugin as favourit, you can see it on your favourit list, but still see it on the general list. Generaly, a favourit list is a subselect of things you want to access easier, but without "deleting" for other ways to access it.
    In fact, my first reaction when testing this new version, defining favourit and coming back to the Course tab was "Where did my courses disapeared" sad

    I understand that GitHub is probably easier for you, but not everybody has a GitHub account. More people are used to Moodle forums (and perhaps tracker). Tested on a Moodle 3.3.3 (little) test site, with Firefox 52, the X isn't active (clean, more or boost), and the little grey - is here and active (clean and more) ; on boost, i must use the Esc key.

    For the last suggestion, i was thinking as something like for
    YOU can then open ONE discussion about this plugin, and link to it (and subscribe to receive emails). This way, you don't have to look regularly at these forums, but all related information can be grouped at the same ("official") place.
  • Picture of Howard Miller
    Mon, 4 Dec 2017, 5:07 PM
    I've done some work on this. Keeping favourites in the course list is now an option. I've done a bit more work on the layout as it was causing some problems on small screens with big course names. I have increased the size of the X, although it does seem to work for me. I'll release an updated version (hopefully) later today after I've done some more testing.
  • Picture of Brian Warling
    Tue, 5 Dec 2017, 2:28 AM
    Hi... I have some questions about this legacy block. It actually doesn't appear to be a "legacy" block anymore... it has new features. From my way of thinking, a legacy module should function/look like the block before a new version replaced it in core. But the course overview (legacy) block doesn't seems to follow that. We're running 3.2, and plan to upgrade to 3.3 at the end of 2017. But we don't really want to switch to the new 3.3 course overview block in the middle of our academic year, so we thought we'd use the legacy block until we can switch to the new one in the summer. But I see that the legacy block is a now different block. It has new features (e.g., favorites), which we don't want. It also doesn't work right when using a Clean-based theme (which we are). The formatting is off (e.g., the course name and favorite star is cut off at the left). Worse, when you change the setting to show categories, this produces a Moodle error (Exception - Class 'coursecat' not found). This only seems to happen when using the Clean theme (I don't see this error in Boost).

    Is there a 3.3-compatible version of the legacy course overview block that is a true legacy block... one that functions/looks like the way the course overview block functioned in 3.2?

    Thanks... Brian
  • Picture of Howard Miller
    Tue, 5 Dec 2017, 6:21 AM

    You can use version 3.3.2 if you don't want any of the new changes. It's definitely ok with 3.3.

    If you do want the new changes, please make sure you have the latest version. There are a number of fixes.

    I'll check out the Clean theme and get back to you...
  • Picture of Brian Warling
    Tue, 5 Dec 2017, 7:06 AM
    Howard -- Thanks for getting back to me. I have tried version 3.3.2 on Moodle 3.3.3 (a clean, new install). It does looks like the current course overview block on Moodle 3.2, but I'm noticing a couple problems. First, when I customize the page, I can no longer drag and drop the courses to re-order them. Instead, I get the up-down caret symbol next to each course that I can click on, which then allows me to click on a box to move it to a new location (i.e., the older, non-ajaxy way of moving page items). Also, when I am not logged in as an Administrator (i.e., logged in as a regular user), the configure menu (the gear icon) for the legacy course overview block (3.3.2) is dimmed and can't be selected (I'm not noticing any permissions that govern this). When logged in as an Administration, the expected drag-and-drop selectors are present (I can click and drag courses around to re-order them), and the configure menu is active.

    So based on this, it doesn't look like version 3.3.2 of the legacy block will really work for us when we upgrade to Moodle 3.3.

    Thanks... Brian
  • Picture of Howard Miller
    Tue, 5 Dec 2017, 5:20 PM
    Hmmm.... that's odd. It should work fine. I'll have a look today.

    On the subject of the Clean theme, do consider that it's on the list to be deprecated. the Bootstrapbase theme on which it is based uses an old/unsupported Bootstrap version. I should be able to make it work a bit better (the current versions of this plugin) but I'm reluctant to spend huge amounts of time on it. The current advise is to code new plugins against Bootstrap V5 (ass opposed to writing loads of CSS)
  • Picture of Howard Miller
    Tue, 5 Dec 2017, 5:21 PM
    *V4 of course not V5
  • Picture of Howard Miller
    Wed, 6 Dec 2017, 12:54 AM
    I have made some small changes which make it look much better on the Clean theme. This is the latest code in Master. If you use it, remember to purge your caches as there is no version number change.
  • Picture of Howard Miller
    Fri, 8 Dec 2017, 7:53 PM
    Keeping the course in the course list is now a (site-wide) option in the latest version.
  • Jörgen Ivarsson
    Fri, 8 Dec 2017, 8:11 PM
    When a course is a favorite, the course should be marked as a favorite in the course list as well as in the favorites list. It is confusing for the user to have a course as a favorite (blue star) in the favorites list, but in the course list the same course is not marked as favorite (transparent star). Of course, this only applies if you have activated the setting to let the favorite courses remain in the course list. The reason to have the course marked as a favorite (blue star) in both lists is to present a consistent view of the items in the list. If a course is marked as a favorite it is a favorite regardless which tab the user looks in (favorites or courses). A nice feature would be if you then could un-mark the course as a favorite from both the favorites and the course view.
  • Jörgen Ivarsson
    Fri, 8 Dec 2017, 8:12 PM
    I just want to stress the importance of keeping the course in the course list after a course is made a favorite. This is important from a usability perspective. By making any item a favorite should not remove the item from a list that supposed to show all items. A clear example of this principle is the phone app in iOS. If you make some of your contacts a favorite does not remove the person from you contact list. If you in this case removes a course from the courses list because you made the course a favorite, you are forcing the user to always remember which courses are favorites and which are not. So, you would constantly be switching between the two lists. The longer the list of favorites become, the harder it will become to find that specific curse. 
    A first step to fix this problem would be to make the default setting to keep favorites in the courses list as a default in the admin setting. I really think this is a much better default setting than "moving" the course to the favorites list. There should not be any surprises when the user makes a course a favorite (like Séverin Terrier describes in his post above). 
    The feature to move a course from course list to the favorites list is such an odd behavior that it should be a user configuration and not a global configuration. Sorry if this sounds harsh, but I am just trying to make this plugin work for our users.
  • Picture of Howard Miller
    Fri, 8 Dec 2017, 8:22 PM
    ...and, marking the the favourite in the course list is a very valid point. I'll get that sorted asap.
  • C'est moi :-)
    Fri, 8 Dec 2017, 11:16 PM
    I totally agree with *everything* Jörgen explains. It's what i would have wrote, if my english was better.
    And i still (with version 3.2.5 just out) have misalignments in Clean theme, with the left part of the stars and course titles cut (aligned too much left?).
  • Picture of Howard Miller
    Sat, 9 Dec 2017, 5:33 AM
    Grrr... I think I might have done something stupid. I fixed it somewhere.... Investigating.
1 2
Please login to post comments