Only display enrollable and enrooled courser for "Avaiable Course"

Only display enrollable and enrooled courser for "Avaiable Course"

by Hoàng Hải Dương -
Number of replies: 1

Hi everyone.

I'm a newbie to using Moodle. I'm setting the homepage for all users. And I added the block "Available Course". However, it showed all courses.

I have some courses that users can self-enroll (it could be available for everyone, event guests), and some courses have to enroll by the teacher.

 Is there any way to show only enrollable (the user can self-enroll) and enrolled courses for the block "Available Course"? Do I need to modify some code?  If so, please advise us of some changed code and the files that have to update.

Thank you so much.

Average of ratings: -
In reply to Hoàng Hải Dương

Re: Only display enrollable and enrooled courser for "Avaiable Course"

by Randy Thornton -
Picture of Documentation writers
There is no easy way to do this in standard Moodle. You can take a look at the Filtered course list plugin: https://moodle.org/plugins/block_filtered_course_list. It can be configured to show courses with various filters, one of which is by enrolment method. You can see the documentation for it here: https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/blob/master/README.md