PHPackages                             lafayettecollege/moodle-block\_filtered\_course\_list - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. lafayettecollege/moodle-block\_filtered\_course\_list

ActiveMoodle-block

lafayettecollege/moodle-block\_filtered\_course\_list
=====================================================

The Filtered course list block displays a configurable list of a user's courses. It is intended as a replacement for the My courses block, although both may be used.

v5.2.0(1mo ago)838↓75%10[13 issues](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/issues)[11 PRs](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/pulls)GPL-3.0-or-laterPHPCI passing

Since Jul 15Pushed 1mo ago3 watchersCompare

[ Source](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list)[ Packagist](https://packagist.org/packages/lafayettecollege/moodle-block_filtered_course_list)[ RSS](/packages/lafayettecollege-moodle-block-filtered-course-list/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (1)Versions (4)Used By (0)

Filtered course list
====================

[](#filtered-course-list)

[![Moodle Plugin CI](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/workflows/Moodle%20Plugin%20CI/badge.svg)](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/workflows/Moodle%20Plugin%20CI/badge.svg)

The *Filtered course list* block displays a configurable list of a user's 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).

Requirements
------------

[](#requirements)

- Moodle 4.4 (build 2024042200 or later)

Installation
------------

[](#installation)

Unzip files into your Moodle blocks directory. This will create a folder called `filtered_course_list`. Alternatively, you may install it with git. In the top-level folder of your Moodle install, type the command:

```
git clone https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list blocks/filtered_course_list

```

Then visit the admin screen to allow the install to complete.

Configuration
-------------

[](#configuration)

To configure the block, go to *Site Administration &gt; Plugins &gt; Blocks &gt; Filtered course list.*

### External filters

[](#external-filters)

If any external filters are available on your Moodle installation you can activate them by checking the appropriate boxes. If there are no external filters, this setting will not display.

### Filters

[](#filters)

Most of the configuration will be done in the *textarea* near the top of the page. Add one filter per line; use pipes ("|") to separate the different settings for each filter. Whitespace at the beginning or end of a value is removed automatically, so you can pad your layout to make it more readable. Here is a sample of the possibilities:

```
category   | expanded  | 0 (category id) | 1 (depth)
shortname  | exp       | Current courses | S17
regex      | collapsed | Upcoming        | (Su|F)17$
idnumber   | col       | History courses | HIST_
starred    | exp       | My starred courses
completion | exp       | Incomplete      | incomplete
completion | col       | Completed       | complete
generic    | exp       | Categories      | Courses
enrolment  | col       | guest, self     | Open courses
#category  | col       | 1 (Misc)        | 0 (show all children)
The line above will be ignored, as will this comment.

```

Please see the usage guide for fuller details: [https://github.com/CLAMP-IT/moodle-blocks\_filtered\_course\_list/wiki](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list/wiki)

### Other settings

[](#other-settings)

SettingDescriptionHide "All courses" linkCheck the box to suppress the "All courses" link that otherwise appears at the bottom of the block. This link takes the user to the main course index page. Note that this setting does not remove the link from an administrator's view.Hide from guestsCheck this box to hide the block from guests and anonymous visitors.Hide other coursesBy default an "Other courses" rubric appears at the end of the list and displays any of the user's courses that have not already been mentioned under some other heading. Check the box here to suppress that rubric.Persistent expansionIf activated, we will use cookies to persist expansion states for the duration of a session.Max for single categoryOn a site with only one category, admins and guests will see all courses, but above the number specified here they will see a category link instead. \[Choose an integer between 0 and 999.\] Unless you have a single-category installation there is no need to adjust this setting.Course name templateUse replacement tokens (FULLNAME, SHORTNAME, IDNUMBER or CATEGORY) to control the way links to courses are displayed. Add a character limit to any token by suffixing it in curly braces to the token. For instance: FULLNAME{20}Category rubric templateUse replacement tokens (NAME, IDNUMBER, PARENT or ANCESTRY) to control the way rubrics display when using a category filter. Add a character limit to any token by suffixing it in curly braces to the token. For instance: NAME{20}Category separatorCustomize the separator between ancestor categories when using the ANCESTRY token above.Manager viewBy default administrators and managers will see a list of categories rather than a list of their own courses. This setting allows you to change that, and it can be helpful to do so while configuring the block. Be advised, however, that admins and managers who are not enrolled in any courses will still see the generic list.SortingThe next four settings control the way courses are sorted within a rubric.Changing the display name
-------------------------

[](#changing-the-display-name)

To change the name of a block instance, turn editing on on a screen that displays the block and click on the (gear) icon to edit the settings.

Issue reporting
---------------

[](#issue-reporting)

Please report any bugs or feature requests to the public repository page: [https://github.com/CLAMP-IT/moodle-blocks\_filtered\_course\_list](https://github.com/CLAMP-IT/moodle-blocks_filtered_course_list).

Developers
----------

[](#developers)

Use Grunt to manage LESS/CSS and Javascript as described in the Moodle dev documentation: .

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance70

Regular maintenance activity

Popularity20

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

Top contributor holds 79.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

2

Last Release

46d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3ef434bc036124ba911b2fdea03980e1867faaddd675e86184cdc2b18d210a66?d=identicon)[lafayettecollege](/maintainers/lafayettecollege)

---

Top Contributors

[![kwiliarty](https://avatars.githubusercontent.com/u/407636?v=4)](https://github.com/kwiliarty "kwiliarty (236 commits)")[![mackensen](https://avatars.githubusercontent.com/u/553370?v=4)](https://github.com/mackensen "mackensen (58 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (1 commits)")[![sryder](https://avatars.githubusercontent.com/u/887106?v=4)](https://github.com/sryder "sryder (1 commits)")

### Embed Badge

![Health badge](/badges/lafayettecollege-moodle-block-filtered-course-list/health.svg)

```
[![Health](https://phpackages.com/badges/lafayettecollege-moodle-block-filtered-course-list/health.svg)](https://phpackages.com/packages/lafayettecollege-moodle-block-filtered-course-list)
```

###  Alternatives

[helsingborg-stad/municipio

A bootstrap theme for creating municipality sites.

4028.8k10](/packages/helsingborg-stad-municipio)[wp-media/wp-rocket

Performance optimization plugin for WordPress

7691.4M4](/packages/wp-media-wp-rocket)[october/rain

October Rain Library

1611.7M109](/packages/october-rain)[drupal/recommended-project

Project template for Drupal projects with a relocated document root

1623.0M1](/packages/drupal-recommended-project)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

45945.2k1](/packages/pressbooks-pressbooks)[mediawiki/maps

Adds various mapping features to MediaWiki

84157.7k3](/packages/mediawiki-maps)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
