My courses

Blocks ::: block_cam_mycourses
Maintained by Dan Marsden
An alternative to the Course Overview block used on "My" Homepage.
Latest release:
31 sites
5 fans
Current versions available: 2

Developed for the School of Clinical medicine, University of Cambridge

This block allows the site admin to configure a list of course categories that appear as "tabs" on the left of the block.

Each course category can show the list of courses as a simple list with just the course name or in the same manner that the course overview block shows.

Each category/tab can be configured to show all courses or only enrolled courses and you can also elect to include all child categories in the list as well.

This block is quite wide so only works well on the 'My' homepage or with themes that allow blocks in a fullwidth column.

To Configure this block go to admin > plugins > blocks > My courses


Dan Marsden (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS


  • Wazza
    Thu, Jun 7, 2012, 8:27 PM
    Can someone post a screenshot of this block?
  • Fri, Jun 22, 2012, 3:25 PM
    Brad - as mentioned in the description this isn't a standard block and is quite wide by design so only works well on the 'My' homepage or with themes that allow blocks in a fullwidth column. I don't have any good screenshots of this block in-use but would be happy to upload one if someone else sent me one.
  • Ray Lawrence
    Sat, Jun 23, 2012, 8:39 PM
    Looks good but it doesn't appear to be capable of being moved to the content region (like the course overview block) in standard theme.
  • Tue, Sep 25, 2012, 9:31 PM
    I've installed this block but am getting Strict Standards errors when both using the block and configuration. When I add the block to "My Moodle" page, the top of the block spams this:

    Strict Standards: Creating default object from empty value in /var/www/html/moodle/blocks/cam_mycourses/lib.php on line 47

    When I go to configure the block under admin > plugins > blocks > My courses I get this above the categories list:

    Strict Standards: Creating default object from empty value in /var/www/html/moodle/blocks/cam_mycourses/displaycategories_form.php on line 101

    What am I missing?
  • Wed, Sep 26, 2012, 6:27 AM
    Hi Jeremy, those strict standards messages are warnings to the developer that they haven't implemented clean code - If you don't understand them you can ignore them (turn display errors off) as they won't affect the operation in current versions of PHP (although it might break in PHP 5.6/PHP 6 if I don't update the code before then.
  • Sat, Oct 20, 2012, 2:02 AM
    We're interested in this block. Would there be any screenshots to see what the enhancements look like.


  • Mon, Oct 22, 2012, 10:51 PM
    Stephen - see my comment above on 22 June
  • Wazza
    Fri, Nov 9, 2012, 6:40 PM
    I see your comment, please someone send dan a screenshot. We want to know what it looks like!
  • Tue, Apr 9, 2013, 2:26 AM
    are you planning to release a moodle 2.4 version?
  • Tue, Apr 9, 2013, 5:13 AM
    I'm not actively working on it at the moment - does the existing version break in 2.4? - I haven't tried it - if it breaks please turn debugging on and report issues in my github account:
  • Tue, Apr 9, 2013, 12:38 PM
    Thanks Dan, I have reported it
  • Mon, Feb 22, 2016, 3:17 PM
    Hi, I love the "My Courses" block, excellent.

    I was just working with it and wondered why one of my courses was not showing up in the block when a student was enrolled in that particular course, but they were showing up in the "My Courses " drop down menu.

    Solution was that you have to allow the "Student to see the gradebook" in the course settings... doh all working perfectly again, thanks so much


    Richard Wallace

  • Tue, Aug 23, 2016, 6:31 PM
    Hi, this block sounds like a nice alternative to the Course Overview block.
    Are there any plans to make this block available for moodle 3.1?


  • Mon, Feb 12, 2018, 7:16 AM
    We have been using this block for some time now, and really love it. Found it works with animated GIFs (but not animated PNGs, which appears to be an issue for Moodle rather than just this plugin).

    One issue I am having is that we have courses running over two rows (4 courses per row). All course images are 400x500 (I have double-checked, just in case) and yet the second row does not line up neatly with the first row.

    In Row 1, all images (held in DIVs, I believe) are equally distanced from each other. In Row 2, the first 3 items are ordered in line with Row 1 (so equidistant as well) but item 4 appears right up against item 3.

    Row 3 is indented from the left, so the images start immediately out of line with rows 1 or 2.

    It is almost as if the gap that should be between items 3 and 4 on Row 2 is appearing instead at the start of Row 3.
  • Mon, Feb 12, 2018, 7:19 AM
    HI There, nice to here it's still being useful - unfortunately this isn't being actively maintained anymore - happy for someone else to adopt it or file pull requests to improve it.
Please login to post comments