Swarthmore’s Fragrance Garden in late fall. Photo credit: Swarthmore College
Registration is now open for the Winter 2027 Hack/Doc Fest, which will be held at Swarthmore College from January 5 through January 7, 2027. CLAMP’s Hack/Doc Fests are twice-yearly unconference-style events dedicated to improving the Moodle experience for liberal arts colleges.
CLAMP held its Summer 2026 Hack/Doc Fest at Kalamazoo College in Kalamazoo, Michigan. This was CLAMP’s second visit to K College, after the Summer 2012 Hack/Doc Fest. The primary focus this time around was the new Moodle 5.2 release, plus continuing follow-up on the issues with the question bank in Moodle 5.0. In addition to this overview, please see our separate post on changes to the login page.
Issues specific to Moodle 5.2
Question bank
The ongoing changes to the question bank have featured in the last few Hack/Doc Fests. The changes we tested in 5.2 are principally cosmetic/quality-of-life, and they all worked as expected:
Make question bank categories collapsible: the child categories can be hidden and displayed below their parent categories.
In-place editing of question bank category names: clicking the pencil icon allows for immediate name modifications.
On the question bank page show amount of questions for each bank: what it says on the tin.
Move entire question categories, complete with questions and subcategories, to a different question bank: worked as described.
Align in-place editing of question names with activities/category name editing behavior: question names were editable in-place and aligned as expected.
Problems remain with importing large question banks from pre-Moodle 5.0 instances. As described in January’s report, importing category-level questions triggers numerous non-fatal warnings that look like errors. We also encountered a problem with asynchronous backup/restore and questions that will be described below.
Asynchronous backup/restore of quizzes
We tested restoring a large Moodle 4.5-era course with a large and complex question bank. The restore failed, and caused the development server to run out of memory and crash. There are two bugs in play here. One, is that the backup/restore subsystem can get stuck in a loop and run out of memory. A mitigation of that problem is described in MDL-81511. We tried both patches and they both worked.
The underlying problem is less clear. We think the issue comes down to the following category structure in the associated question bank:
Parent category 1 (1+ questions)
Sub-category 1 (1+ questions)
Parent category 2 (1+ questions)
Sub-category 2 (0 questions)
Sub-category 3 (0 questions)
Sub-category 4 (1+ questions)
Sub-category 5 (1+ questions)
Attempts to reproduce the issue with a bare-bones structure matching the above were unsuccessful. Modifying the original backup by adding a question to the first empty category did resolve the issue. We didn’t report the problem to HQ yet because we hadn’t narrowed it down sufficiently.
Marking workflow
Moodle is starting to make a push around the marking workflow feature (MDL-86006). We looked at this in 2014 and thought it could be “handy.” The marking workflow now supports multiple markers (read: graders) and grade calculation methods.
Enabling Marking workflow in an assignment provides a workflow that requires grades to go through a series of stages before they’re released to students. A mark is a separate value (a “provisional grade”) set by a “marker.” Markers need to have the role of teacher or non-editing teacher and they are allocated to mark (not grade) specific students. The new functionality in 5.2 is that you can now have multiple markers provide a mark for a single assignment.
This seems like it could be particularly useful in large courses with TAs. The marking workflow does not work with rubrics.
Completion conditions
The completion criteria, activity dates, and completion actions are reorganized to sit prominently at the top of the activity page. If you were to set a completion requirement for a forum that is also graded, students can check off the completed activity even though they didn’t actually complete the forum. They won’t get a grade. The instructor has to add the grade manually. So the completion requirement is just used as a checklist.
Documentation updates to consider for 5.2
In this section we’re flagging areas where you might want to update your internal documentation when upgrading to Moodle 5.2.
Q&A Forum: acts more like a live forum – could be used for polling
New login screen: for schools not using SSO authentication methods
Question Bank: can edit categories directly now, drag and drop/move categories, can see questions used in course, move categories to another course, etc.
Restricted Content: clearer information displayed. The process is still the same but may need to update screenshots to reflect the new display.
Subsection anchor links: screenshots may need to be updated to reflect the new look. The new option to duplicate subsections should be reflected
Other issues
Timeline/Calendar/Upcoming Event and overrides
We’ve noted before that there are inconsistencies related to the Timeline, Upcoming Event, and Calendar blocks and the presentation of user and group overrides in assignments. There are at least three tracker items addressing aspects of these problems:
MDL-77441: Activity overrides NOT display correctly in the Timeline block 4.1
MDL-79989: Group overrides dates/times do not display correctly in calendar, upcoming events, and timeline for students in courses IF they are enrolled elsewhere in the site as a teacher
MDL-81004: Timeline doesn’t check the group or individual exceptions dates in some date filters
We think we’ve identified the root problem and we’ve posted a patch to MDL-77441 for review. It’s complicated to explain, but at root the problem manifests if the you’re looking at a particular window (say the next 7 days), and the original event falls within that window but the override does not.
H5P activity accessibility
We’ve looked at H5P before, most notably at the Winter 2021 Hack/Doc Fest. This time around we looked the accessibility of various activities, and how to disable individual types at the site level. It’s important to note that you can download types from h5p.org that were not evaluated for WCAG 2.1 AA conformance and are not maintained by the core team. All content types are enabled (visible) by default, but not all are recommended by the core team.
You can disable (hide) a content type in Site administration > General > H5P > Manage H5P content types. There’s a significant caveat, however. The H5P Page type (formerly called “Column”), allows adding H5P types to itself and ignores whether the type is disabled at the site level. This is a long-standing bug (MDL-77675) and hasn’t yet been addressed.
Off-label uses of course import and restore
It’s possible when restoring a Moodle course from a backup file to advance the dates of the resources to match the start and end date of the target course. To do so, you need to make the following choices when restoring the course:
From the restore menu select any of the options, noting that the options to create a course will require you to set a start date.
For any restores into existing courses, Set “Overwrite Course Configuration” to “Yes”.
Uncheck the overwrite checkboxes for short name, full name, and start date.
In this configuration, the restored resources will have start and end dates recalculated from the target course’s start and end date, as opposed to whatever was in the backup. This is an alternative approach to using the Edit Dates report to bulk-update dates after the restore.
All well and good. The challenge is that this workflow isn’t possible when importing from an existing course, which means it’s not available to faculty if their course backup size exceeds the maximum upload size for the server. This functionality has now been requested in MDL-89095.
Remove reliance on color to convey information in Calendar View
In the full calendar view (/calendar/view.php) there are three view options, Month, Day and upcoming events. The events key in the Block Drawer shows there are 6 types of events and each one has a corresponding color that the event will appear on the calendar/event in the different views. In Day and Upcoming Event View there is an indicator of what type of event it is being viewed:
In the calendar view the only indicator of event type is the color unless you click an event and bring up the modal dialog which brings up a view similar to above:
WCAG states color shouldn’t be the only means of conveying information. On the Calendar View, it would be ideal if this color information was backed up by an image or other form of secondary encoding. This would facilitate information transfer for color vision deficient (colorblind) users. We’ve reported it to HQ as MDL-89011.
H5p content types not available on clean install
Using h5p requires the content types. These need to be downloaded. There’s a monthly task for keeping these in sync (\core\task\h5p_get_content_types_task). This is scheduled to run at a random time on the first of the month, so you could potentially go a month without types available on a new install. There’s a tracker item (MDL-80031) but no workaround beyond running the task manually.
Summary
We took an informal poll of seven participating schools as the Hack/Doc Fest wrapped up. Four were planning on upgrading to Moodle 5.1 for the Fall 2026 semester, two were planning to stay on Moodle 4.5 for another year, and one was planning on upgrading to 5.1 or 5.2. No one had any real concerns about running on either 5.1 or 5.2. The relative lack of major issues in 5.2 permitted us to take some deep dives into longer-standing issues, such as the override display issue, H5P modules, and calendar accessibility.
Moodle HQ has redesigned the login page for Moodle 5.2. If you only enable SSO authentication methods (CAS, Shibboleth), read no further. There are a few aspects to the redesign that bear mentioning, for both the users and administrators. We’re going to discuss four: the new design itself, including the background image; the placement of login instructions; styling the page; and the rearrangement of login settings in Site administration.
The login page
The default login page in Moodle 5.2
The new login page is a two-pane design and looks the same in both Boost and Classic. The left-hand pane contains a default background image. The image shows a typical academic library setting. It’s AI-generated and marked as such. Superimposed over the image are the login instructions for the site. If no instructions are defined, Moodle displays a “welcome to Moodle” marketing blurb. On the right-hand pane is the typical login form. On mobile, the design collapses to a single column. The image is not displayed, and the login instructions are displayed below the form.
The background image
Both the Boost and Classic themes ship pix/login_background.jpg as an asset (see MDL-88206 for implementation notes). It’s a 1.5 MB jpeg; its dimensions are 1440x2048. The “AI-generated image” text is a watermark applied by CSS for the default image only. This text is not otherwise exposed to the user and isn’t accessible. To override the image, you upload your own image in the “Login page background image” setting for the appropriate theme. If you upload a landscape-oriented image, Moodle will crop the upload.
Login settings
Moodle 5.2 has consolidated various login settings under Site administration > General > Login settings (MDL-87553). Most of these were previously under Site administration > Plugins > Authentication > Manage authentication or Site administration > General > Security > Site security settings. Given the redesign, the most important of these is “Instructions”; it’s not a new setting, but it now occupies a prominent place in the design for desktop users. The field supports rich text; the form allows you to drag-and-drop images but they won’t be displayed.
Styling notes
For the desktop view, the transparent box behind the login instructions text does have its own CSS tag if you want to have it not match the main theming. The CSS id is .login-layout-left-content.
Putting it all together
Below is an example of a revised login page. Instead of the library is a cropped view of the Kalamazoo Transportation Center. Superimposed are login instructions for the test instance we used at the recent Kalamazoo Hack/Doc Fest.
Mandelle Hall, Stetson Chapel, and the Upjohn Library Commons. Photo courtesy of Kalamazoo College.
Registration is now open for the Summer 2026 Hack/Doc Fest, which will be held at Kalamazoo College from June 23 through June 25, 2026. CLAMP’s Hack/Doc Fests are twice-yearly unconference-style events dedicated to improving the Moodle experience for liberal arts colleges.
CLAMP held its Winter 2026 Hack/Doc Fest at Connecticut College in New London, Connecticut. This was CLAMP’s second visit to Conn College, after the Winter 2024 Hack/Doc Fest. The primary focus this time around was the new Moodle 5.1 release, plus follow-up on the issues with the question bank in Moodle 5.0. In addition to this overview, please see our separate posts on data privacy and the safe exam browser.
Issues specific to Moodle 5.1
Question bank
The changes to the question bank in Moodle 5.0 required their own separate blog post to hash out. On the whole, folks felt better about the question bank in Moodle 5.1. That said, there are still some issues to be aware of.
Sharing question banks from the course level
We evaluated how to share question banks (QB) between courses now that there are no category-level question banks. In this example, we have Course 1 and Course 2 taught by Teacher 1 and Teacher 2. Teacher 1 can create a course-level QB in Course 1. Then they join Course 2 as a Teacher and import a quiz from Course 1. This quiz has 3 questions from the Course 1 course-level QB. Teacher 2 cannot edit those questions. Course 2 also does not have full access to the course-level QB in course 1.
If Teacher 1 edits a question in this quiz from their one in Course 1, it is also changed in the instance in Course 2. In the case that the quiz has been attempted, the Teacher 1 can change the the question. The student who had attempted the quiz still sees the original question, but future students will get the new version of the question unless the faculty explicitly chooses the question version in the Quiz settings.
If Teacher 2 duplicates the quiz, then they get a copy of the quiz but the questions are copied into a new “System shared question bank” in Course 2. Teacher 2 can edit that copy of those questions. But it is strange that they are dumped into a “System shared question bank” rather than in a quiz-specific question bank.
Restoring quizzes from Moodle 4.5 to Moodle 5.1
There are still some challenges with importing quizzes from Moodle 4.5 to Moodle 5.1. We tested with quizzes from a school’s production 4.5 instance. The first issue is that we saw a number of non-fatal errors that nevertheless had the red background that usually indicates a more serious issue:
Category-level questions will be stored course-level question banks
These are all questions that were heretofore stored at the category level. Some of these questions contained Random questions from specific categories. The questions appear to load, but clicking on the “See questions” link on the Random Questions causes a fatal error:
As of yet, we cannot view the list of questions in the categories for these quizzes. The course-level question bank shows the list of quizzes, but clicking on them takes you to the quiz itself, and does not show you the list of questions in the category from which these Random questions are pulled.
Regular multiple-choice questions are labeled with “System shared question bank.” However, if I go to the course-level question banks, even though I see a System shared question bank (created from previous testing), the imported multiple-choice questions are not there. Site home does not have any question banks.
Conclusion: the questions are clearly there. But they are “hidden” in some kind of secret question bank. Use extreme caution when importing quizzes from previous versions into Moodle 5.1.
Activity overview
Activity overview is another feature that saw changes in Moodle 5.0 and was further improved in 5.1. It’s been extended to include dates and completion information for BigBlueButton, Choice, Database, Forum, Glossary, H5P, Lesson, SCORM and Quiz in addition to Assignment, Feedback, Resources, and Workshop.
Admin search improvements
Moodle carried out research into the information architecture (IA) of the site administration interface. Among other outcomes, this research identified a need to improve search within the administrative interface. The first improvement to land is MDL-85518, returning search results in a more intuitive order.
Server configuration
For self-hosted schools, Moodle has made a major change in its code layout for the 5.1 version. This is done to permit the introduction of the “router” feature and prettier URLs. Most of the public code that was previously in the root of the code base is now in a public subdirectory. Your config.php still lives in the root. Also still in the root is admin/cli/ with various tools, including cron.php. You’ll need to make various one-time adjustments to your deployment to accommodate these changes. Included below is the Apache configuration for CLAMP’s Moodle 5.1 test environment:
Moodle has deprecated the maxsections configuration setting; going forward there will be no limit to the number of sections a teacher can add to a course. Out of curiosity, we used Moodle WebService Manage Sections plugin to bulk add 500 sections to a course (ironically, that plugin hasn’t be updated to reflect the change to maxsections). The course and navigation were functional afterwards.
Manual enrollment notifications
Manual enrollment notifications are sent immediately regardless of whether the enrollment is active. This has to do with how enrollment status is tracked in the database. There are only two states: enrolled or suspended. The start and end times are tracked separately. Moodle calculates whether an enrollment is active based on the time constraints, but it doesn’t go back to the database. It would be onerous for cron to check every minute whether an enrollment has become active.
That does leave the question of the message to the user. The default message for a new manual enrollment, as defined in the language string enrol/customwelcomemessageplaceholder, is this:
Hi {$a->firstname}, you are enrolled in the course {$a->coursename}.
Moodle allows teachers to override this on a per-course, per-enrollment method basis. It’s buried in the course navigation, in Course > Participants > Enrolment methods > Self enrolment (or Manual enrolment), if you edit the method. Moodle provides numerous placeholders for programmatic customization:
One thing that’s missing here is the enrollment start date, as opposed to the course start date. Moodle 5.1 added the ability to set an arbitrary state date for a manual enrollment. We’ve proposed a change (MDL-87665) to make that value available to the message customization.
Activity chooser
The activity chooser has a new look and feel. You can still “star” activities, which are now grouped functionally: Assessment, Collaboration, Communication, Resource, and Interactive content. These categories are fixed and can’t be modified. New activities are added to “All.”
Other issues
Phantom grading changes in the gradebook
There is a bug in Moodle that can lead to unexpected changes in the gradebook. When using Google Chrome, with grader editing turned on, if a user uses two-finger scroll or mouse wheel scroll they can change grades unintentionally if the cursor was hovering over a grade cell. On CLAMP’s development environment we could only reproduce this if the user’s browser had the Lastpass extension enabled. Macalester can reproduce the issue in production without the extension.
Core is tracking the issue in MDL-86837. A workaround is to add the following Javascript snippet to Site administration > Appearance > Additional HTML section > Before BODY is closed:
Ongoing issues with group overrides on assignments
We documented some issues with group overrides in assignments at the Summer 2025 Hack/Doc Fest (“Overrides don’t appear properly at times“). There’s another issue, MDL-81004, related to how overrides appear on the timeline in the dashboard.
Here’s an example of the issue in question. Create an assignment with a default due date of midnight, 7 days from today. Create a Group Override and change the due date to be one month later. (Don’t do this testing in February because the shorter month might make it weird). This means the overridden due date is more than 30 days into the future.
Now, log in as a student in the date override group and navigate to the dashboard (in default config) so that the Timeline and Calendar are visible. Given that the calendar is showing the current month and the timeline is set to next 7 days; on the Timeline and calendar the original due date is shown, not the overridden date.
As the student, change the timeline to next 30 days, and the wrong due date (not applying the override) will still appear on the timeline. Still as the student, change the calendar to next month and timeline to next 60 days. Calendar and timeline will now show the override.
Quiz pre-creation
Moodle added a feature in 5.0 to “pre-create” quiz attempts prior to the quiz becoming available. This can potentially reduce performance issues with large quizzes. This must be enabled in Site administration > Plugins > Quiz > General settings. A range of 1-24 hours may be selected for when attempts are pre-created. These settings are sitewide and cannot be changed by teachers. Once the attempts are created the student receives a notification and the quiz cannot be modified.
We tested the possibility of retaining a course for historical reasons but removing the student data after a period of time because of FERPA concerns over data retention. Moodle has a course reset function available in the interface. The moosh cli package includes a course-reset command which permits automating this functionality. The course-reset command may be combined with the course-list command to output all courses from a category and then reset them:
Note that course-list will traverse the subcategories of a category and retrieve all courses. Resetting a course purges course data but retains enrollments.
Error when adding media to the front page
Dragging and dropping an image to the course home page triggers an error and fails. This worked in Moodle 5.0. We reported this as MDL-87661; core has already identified the root cause and proposed a fix.