Blocks: Filtered course list

block_filtered_course_list
Maintained by Picture of Kevin Wiliarty Kevin Wiliarty
The Filtered Course List block displays a configurable list of courses. It is intended as a replacement for the My Courses block, although both may be used. It is maintained by the Collaborative Liberal Arts Moodle Project (CLAMP).
363 sites
338 downloads
23 fans

The Filtered Course List block displays a configurable list of courses. It is intended as a replacement for the My Courses block, although both may be used. It is maintained by the Collaborative Liberal Arts Moodle Project (CLAMP).

An administrator can apply various filters by which to organize a user's course listing in the block. Courses can be sorted by category, shortname matches or completion status. If all of the courses in a given semester have a shortname ending in a semester code, for instance, then the administrator can designate those courses to appear under "Current courses," "Future courses" or any other heading. Regex matching is supported.

Administrators can designate multiple collapsible headings and choose which of those headings, if any, should be expanded by default.

Other options include the ability to hide the block from guests or anonymous visitors, to choose whether an admin sees all courses or her own, and to hide or reveal a link to a more comprehensive course search.

Screenshots

Screenshot #0

Contributors

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

Comments RSS

Show comments
  • Picture of Kevin Wiliarty
    Wed, 24 Jan 2018, 12:52 AM
    It took two attempts, but I finally got the strings correctly formatted for AMOS. I confirmed that they are available in the translation interface. Thanks again for your interest in the plugin and for letting me know about the problem. If you have any other questions, please don't hesitate to ask.
  • Picture of Amruta Jamale
    Mon, 5 Mar 2018, 1:48 PM
    Hi Kevin,

    I want that my Filtered course list should display like the following:

    Category 1
    Subcategory 1
    Course 1
    Subcategory 2
    Course 2
    Subcategory 3
    Course 3


    Category 2
    Subcategory 1
    Course 1
    Subcategory 2
    Course 2
    Subcategory 3
    Course 3


    Category 3
    Subcategory 1
    Course 1
    Subcategory 2
    Course 2
    Subcategory 3
    Course 3

    Currently it display like this:
    Subcategory 1
    Subcategory 2
    Subcategory 3
    Subcategory 1
    Subcategory 2
    Subcategory 3
    Subcategory 1
    Subcategory 2
    Subcategory 3
    Can you help me to set the configuration of the filtered block?
  • Picture of Kevin Wiliarty
    Mon, 5 Mar 2018, 10:19 PM
    Hi Amruta,

    The Filtered Course List does not support nested displays per se, but you can perhaps achieve something close to what you are looking for by specifying a "Category rubric template" like this: PARENT > NAME . The uppercase words are tokens that will be replaced in the display by the name of the category parent and then name of the category itself. The separator can be anything you like. PARENT :: NAME would also work, for instance. Then your display should look like this:

    Category 1 > Subcategory 1
    Category 1 > Subcategory 2
    Category 1 > Subcategory 3
    Category 2 > Subcategory 1
    Category 2 > Subcategory 2
    Category 2 > Subcategory 3

    I hope this helps. If you want to follow up, please include your block's configuration and version info. For instance, the "Category rubric template" is only available in relatively recent versions, so I don't know whether you'll have it or not.
  • Patrick Viney au MoodleMoot de Nîmes
    Wed, 6 Jun 2018, 5:14 PM
    Hi, thank you for keeping the precious plugin up to date.
    However, I have a fatal error on my fresh Moodle 3.5 installation when I try to load this page : admin/tool/dataprivacy/pluginregistry.php
    " Fatal error: Interface 'core_privacy\metadata\null_provider' not found in /var/www/html/blocks/filtered_course_list/classes/privacy/provider.php on line 36"
  • Picture of Kevin Wiliarty
    Wed, 6 Jun 2018, 8:21 PM
    Thank you for pointing that out, Patrick. I am able to reproduce the problem. I'll work to fix it as quickly as possible.
  • Picture of Kevin Wiliarty
    Wed, 6 Jun 2018, 8:26 PM
    I've created an issue on the plugin's GitHub repository for this: https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/issues/108
  • Picture of Kevin Wiliarty
    Thu, 7 Jun 2018, 12:28 AM
    I've just released v3.3.6 to address the problem Patrick Viney pointed out above. Thank you again, Patrick, for calling it to my attention.
  • Picture of Brian Chandler
    Fri, 10 Aug 2018, 4:26 AM
    I'm using your plugin to group courses by using Regex. Is it possible to 'tag' the courses as being complete or incomplete within the filters? Basically, I'd like to add a class the course listings if they are completed so I can style them differently. Is there a way to do that?
  • Picture of Kevin Wiliarty
    Fri, 10 Aug 2018, 10:17 PM
    Hi Brian, it's not currently possible but I quite like the idea, and it will be easy to implement. I've created an issue for it on Github at https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/issues/115 . I expect to be able to release it sometime next week.
  • Picture of Kevin Wiliarty
    Mon, 13 Aug 2018, 1:23 AM
    I've just released v3.3.7 which includes CSS classes indicating course completion status.
  • Picture of Brian Chandler
    Tue, 14 Aug 2018, 1:03 AM
    My man!
  • Patrick Viney au MoodleMoot de Nîmes
    Mon, 15 Oct 2018, 5:18 PM
    Hi, I've found a small bug with course names containing an ampersand (&). The filtered list seems to display it with the html code "& amp;" instead. Can something be done about this ? Thanks again for your great work !
  • Picture of Kevin Wiliarty
    Mon, 15 Oct 2018, 11:32 PM
    Thanks for the report, Patrick. So far I'm not having any luck reproducing the problem. I've added a course with an ampersand in the title, but it displays correctly for me in the block. Can you tell me which version of the block you are using? Which version of Moodle? And how the title is being created? For example, manually? By some automated process?
  • Patrick Viney au MoodleMoot de Nîmes
    Tue, 16 Oct 2018, 6:08 PM
    Thank you for your quick reply. Actually, it works fine on my Moodle 3.5 with the latest version of the plugin. The ampersand problem was on my 3.3 only with plugin v3.1.0.
  • Picture of Kevin Wiliarty
    Tue, 16 Oct 2018, 10:13 PM
    I'm so glad to hear it. There had previously been an issue with ampersands, as you saw, but it should be resolved in more recent versions.
1 2 3
Please login to post comments