My courses

Blocks ::: block_cam_mycourses
Maintained by Dan Marsden
An alternative to the Course Overview block used on "My" Homepage.
Latest release:
19 sites
8 downloads
6 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

Contributors

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

Comments RSS

Comments

  • Wazza
    Thu, 7 June 2012, 8:27 PM
    Can someone post a screenshot of this block?
  • Dan Marsden
    Fri, 22 June 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, 23 June 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.
  • Jeremy Schambaugh
    Tue, 25 Sept 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?
  • Dan Marsden
    Wed, 26 Sept 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.
  • Stephen Gormley
    Sat, 20 Oct 2012, 2:02 AM
    We're interested in this block. Would there be any screenshots to see what the enhancements look like.

    Cheers,

    Stephen.
  • Dan Marsden
    Mon, 22 Oct 2012, 10:51 PM
    Stephen - see my comment above on 22 June
  • Wazza
    Fri, 9 Nov 2012, 6:40 PM
    I see your comment, please someone send dan a screenshot. We want to know what it looks like!
  • Carlos Kiyan Tsunami
    Tue, 9 Apr 2013, 2:26 AM
    are you planning to release a moodle 2.4 version?
  • Dan Marsden
    Tue, 9 Apr 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: https://github.com/danmarsden/moodle-block_cam_mycourses/issues
  • Carlos Kiyan Tsunami
    Tue, 9 Apr 2013, 12:38 PM
    Thanks Dan, I have reported it
  • Richard Wallace
    Mon, 22 Feb 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

    Cheers

    Richard Wallace

  • Marius Hammer
    Tue, 23 Aug 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?

    Cheers

    Marius
  • Gary Newport
    Mon, 12 Feb 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.
  • Dan Marsden
    Mon, 12 Feb 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