Select Moodle version:

Blocks: My courses

block_cam_mycourses
An alternative to the Course Overview block used on "My" Homepage.
Maintained by: Picture of Dan Marsden Dan Marsden
for Moodle
2.0, 2.1

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

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

Comments RSS

Show comments
  • Picture of Marcel Gabriel
    Wed, Feb 1, 2012, 4:08 PM
    Hi.

    This block is really great, thank you!

    Some additions for future versions that others might find helpful could be:
    - An option to hide a category if it is set to show enrolled courses and a user isn't enrolled in any course of this category
    - An option to include courses of a category where users have access rights but are not enrolled (if a user is granted manager rights to a course and the user is listed under "other" in the course/users view but he/she is not enrolled to this course the course should still be (optionally) listed)
  • Picture of Brad Kutmas
    Tue, May 1, 2012, 11:02 PM
    Still searching for a My courses block similar to Moodle 1.9.

    Maybe I haven't experimented with this one enough, but it looks like it displays all courses, even hidden categories that a user isn't enrolled in. Also, the block is far too wide and doesn't fit well with most popular themes. Still, good work and keep going!
  • My picture
    Hello Dan,

    It doesn't display any setting menu, to configure the block (I have tried going to blocks->My Courses.

    I would like a block that displays all the courses form administrators, so maybe this is not the right one?
  • My picture
    Hello Dan,

    It doesn't display any setting menu, to configure the block (I have tried going to blocks->My Courses.

    I would like a block that displays all the courses form administrators, so maybe this is not the right one?
  • Wazza
    Thu, Jun 7, 2012, 8:27 PM
    Can someone post a screenshot of this block?
  • Picture of Dan Marsden
    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.
  • Picture of Jeremy Schambaugh
    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?
  • Picture of Dan Marsden
    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.
  • Picture of Stephen Gormley
    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.

    Cheers,

    Stephen.
  • Picture of Dan Marsden
    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!
  • Picture of Carlos Kiyan Tsunami
    Tue, Apr 9, 2013, 2:26 AM
    are you planning to release a moodle 2.4 version?
  • Picture of Dan Marsden
    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: https://github.com/danmarsden/moodle-block_cam_mycourses/issues
  • Picture of Carlos Kiyan Tsunami
    Tue, Apr 9, 2013, 12:38 PM
    Thanks Dan, I have reported it
1 2
Please login to post comments