Your Moodle version

Blocks: My enrolled courses

block_my_enrolled_courses
Maintained by Picture of DualCube Team DualCube Team, Picture of Arindam Ghosh Arindam Ghosh
My Enrolled Courses block enables users to show or hide the courses they are enrolled in. The block contains links to the courses enrolled, the visibility of which can be changed from the settings panel, as per requirement. You can hide the ones you are done with and change their visibility again, if need be. One click on a course link will redirect to that particular course page.
170
141
14
Moodle 2.5, 2.6, 2.7, 2.8, 2.9

MY Courses

My Enrolled Courses block enables users to show or hide the courses they are enrolled in. The block contains links to the courses enrolled, the visibility of which can be changed from the settings panel, as per requirement.  You can hide the ones you are done with and change their visibility again, if need be. One click on a course link will redirect to that particular course page.

This block can be added to any page of a Moodle site. It is perfectly compatible with Moodle versions 2.4, 2.5, 2.6 and 2.7.

How to access the settings page of the block?

Go to My Enrolled Courses block, click on Show/Hide and you'll land on the Settings panel of the block.

On settings page, the left column - 'Visible courses'- contains all the enrolled courses and the ones you want to see in the block. The right column i.e. 'Hidden courses' contains the courses you don't wish to see in the list of courses in the block.

How to hide a course?

To make a 'visible' course 'hidden', select Courses from the 'Visible courses' list, and then click 'Hide courses'.

How to make a course Visible?

To make a course 'visible' again, the user have to select courses from the 'Hidden courses' list and then click 'Show courses'. Your 'Hidden' course will reappear in the block.


Contributors

Screenshots

Screenshot #0
Screenshot #1

Contributors

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

Comments RSS

Show comments
  • Picture of David Mudrák
    Thu, Aug 28, 2014, 5:51 PM
    Thanks for providing the updated version with issues fixed. I am going to approve the plugin now. The only suggestion I have is performance wise. In the block_my_enrolled_courses_visible_in_block() you call $DB->get_record() inside a foreach loop. It is much more effective to load all hidden courses for the current user in a single $DB->get_records() call before checking them inside the loop. That may become significant when users are enrolled in many courses. Also note, the common practise is to have a file locallib.php to hold the plugin functionality, you may wish to rename your current functions.php library.

    You are cleared to land now, welcome to the Plugins directory.
  • Picture of DualCube Team
    Mon, Sep 1, 2014, 7:47 PM
    Hi David,

    Thanks a lot for the approval. It really feel great to finally have our plugin available for donwload! Also your suggestions are much appreciated, we will surley keep them in mind going forward.

    Thanks and Regards,
    Arindam,
    DualCube
  • Picture of Thomas Schoeftner
    Tue, Dec 16, 2014, 5:52 PM
    Thanks a lot for this really great block - it's very useful for my institution smile
  • Picture of DualCube Team
    Tue, Dec 16, 2014, 6:01 PM
    Hi Thomas,

    Thanks heaps for your appreciation and encouraging words. Please do not hesitate to reach out to us in case you need any assistance or face any issues.

    Thanks and Regards,
    Arindam
  • Picture of Marina Glancy
    Wed, Mar 18, 2015, 9:43 AM
    Hello, please look at the issue MDL-49539 - there is a fatal error in this plugin on 2.8.5
  • Picture of DualCube Team
    Wed, Mar 18, 2015, 9:59 PM
    Hi Marina,

    Thanks for reaching out! Actually, this plugin is still not compatible with the latest version (2.8.5). We will be providing an update soon and let you know smile.

    Thanks for the cooperation!

    Thanks and Regards,
    Arindam
    Team Dualcube
  • Picture of blair mad
    Tue, Apr 7, 2015, 11:08 PM
    course titles seem to obey the content filter (multilang) but not in the listing of 'my enrolled courses'..amd I missing something?
  • Picture of Chris Chapman
    Fri, Jun 26, 2015, 7:11 PM
    any chance of a 2.9 version, (new jQuery amd method) as it conflicts at moment- or if you can point me in the right direction? it's just the Show/Hide Sortable not working at mo. I've told block_my_enrolled_courses.php to use lib/jquery/... but still has a conflict..
  • Picture of DualCube Team
    Mon, Jun 29, 2015, 7:16 PM
    Hi Chris,

    Our apologies for the inconvenience caused. We will be releasing a version for Moodle 2.9 pretty soon. We thank you for your patience.

    Thanks and Regards,
    Arindam
    Team Dualcube
  • Picture of Александр Козлов
    Tue, Aug 4, 2015, 10:59 PM
    Fatal error: Can't use function return value in write context in /home/admin/web/default.domain/public_html/blocks/my_enrolled_courses/locallib.php on line 40

    This problem appears when you install on Moodle 2.9.1
  • Picture of DualCube Team
    Wed, Aug 5, 2015, 8:49 PM
    Hello,

    We apologize for the inconvenience caused at your end. There was a glitch which we have fixed now, please go ahead and install the block again and I believe you won't face any issues going forward.

    Let me know if you encounter any other problems at all.

    Thanks and Regards,
    Arindam
    Team Dualcube
  • Picture of C Behan
    Wed, Sep 23, 2015, 6:01 PM
    Thank you - great plugin. Useful for moodle sites where teachers and course admins are enrolled on many courses but regularly edit only a few of these pages in practice.
  • Picture of DualCube Team
    Wed, Sep 23, 2015, 8:21 PM
    Hi Behan,

    Thank you so much for your appreciating words! We are glad that you tried this plugin and it could be of helpsmile. Do let us know if you face any problems and need any assistance.

    Thanks and Regards,
    Arindam
  • Nishant
    Tue, Feb 16, 2016, 1:48 PM
    Hi guys,
    This module working fine for student. But when I login by admin then getting some error on some pages i.e.

    Fatal error: Call to undefined function block_my_enrolled_courses_visible_in_block() in E:\Xampp\htdocs\moodle_lmsdevnew\blocks\my_enrolled_courses\block_my_enrolled_courses.php on line 51

    Please help. What is the issue is this.

    Thanks,
    Nishant Pandya
  • Picture of DualCube Team
    Tue, Feb 16, 2016, 8:45 PM
    Hi Nishant,

    Thanks for reaching out!

    May I know which version of the Moodle you are using and also it would be great if you can please specify for which pages the error message is coming. Just provide us the links and we will check as we can not see any errors at our end.

    Thanks and Regards,
    Arindam
1 2
Please login to post comments