Tag: tinymce

Winter 2025 Hack/Doc Fest at Lafayette

CLAMP held its Winter 2025 Hack/Doc Fest at Lafayette College in Easton, Pennsylvania. The primary focus of the event was evaluating Moodle 4.5. We’re happy to report that we encountered no major issues and no blockers to upgrading to Moodle 4.5 this year, although you should take careful note of the new image redaction functionality. Please read on below for for details of the various issues we discussed.

Issues

Subsections

Sub-sections (mod_subsection) are a new feature in Moodle 4.5. This is a great way to organize materials within a topic block. In the past, you needed to use labels and indented items to group items within a section. With this feature, you can create a subsection that is collapsible within the section. We found it difficult to drag-and-drop items from a local folder directly into the subsection, but it is easy to move items into the subsection once they have been added to the topic block itself. You can click on “Add an activity or resource” within the subsection to add content directly to the subsection. You can have multiple subsections within the topic block, but you can’t nest another subsection within an existing subsection.

Scrolling across pages when annotating Assignments

Assignment annotation allows only for clicking through multiple pages. This is cumbersome when trying to flip across multiple pages when annotating. A proposal to allow scrolling instead made some headway in 2020 before the author abandoned it. CLAMP has updated and resubmitted the fix and will work with Moodle HQ to get this feature added.

Image redaction

There is a separate blog post discussing the new image redaction feature in Moodle 4.5. The short version: if you enable it, make sure that you also install exiftool and configure Moodle to use it.

Assignment submission default order

The first time you view submissions in an assignment, they’re sorted by the internal Moodle userid of the submitter. It appears non-deterministic and can confuse faculty. Once you’ve sorted by something else (last name, submission date) that choice persists through logout, but the initial presentation is confusing. CLAMP has submitted a feature request and patch to change this behavior to last name of the submitter.

New notifications

Moodle 4.5 adds new options to notify students of upcoming assignments and quizzes. By default, each user decides what notifications they want. Administrators can change this default. New notification options include the following:

  • Assignment due in 7 days
  • Upcoming assignment due (48 hours before the due date)
  • The assignment is overdue.
  • Quiz opens soon

There is no way for an individual instructor to configure these options or to force a push.

Optional questions for Quiz

Carleton was interested in a Quiz-like activity where students have the option to answer specific questions within a category. They would only be graded for the questions they answered. This is an example point system:

  • 15 multiple choice questions worth 2 points each
  • 5 essay questions about terms (only 3 are required)
  • 5 more essay questions (only 4 are required)

We looked at ways of accomplishing this:

  • A teacher can add a multiplier to the Quiz activity only if all questions are worth the same number of points
  • Changing the Maximum grade to be below the total number of points will only cause the question points to be recalculated in the Results page
    • It still counts all the optional questions
    • Unlimited Grading does not fix this issue
  • Workaround: Create Quiz questions listing all potential question prompts a student can answer.
    • Example: three essay questions with all five essay prompts.
    • Students have to write out what question they are answering

Other avenues to explore:

  • Try lesson activity
  • Maybe branching (conditional formatting)
    • Branching depends on whether want to give students the option to answer all questions for extra credit.
    • Branching is available within a Questionnaire, but not within a Quiz. However, the Questionnaire does not appear to have any auto-grading features (beyond assigning a grade for completion).

Exploring Competencies in Moodle

We took another look at Competencies, a perennial topic at these events. Coming out of Butler in 2016 we called them “a complicated new system with an inherent workflow that isn’t well documented.” Occidental published some documentation about them at Smith in 2019. We took another look at them as an offshoot from the optional Quiz questions work. Findingss:

  • Administrators can build a site-wide template: Site administration > General: Competencies > Competency frameworks
  • Taxonomies are just labels for nesting: 4 level options.
  • Teachers cannot create competencies; they can only pull competencies out of existing frameworks.
  • Teachers can assign competencies to specific activities and resources or just add the competencies to their course in general.
  • This could be useful for programs with a graduation requirement. An example is Carleton’s Writing Portfolio where students upload 3–5 pieces of writing from different courses plus a reflective essay.

We helped unearth two bugs while looking at Competencies this time around: MDL-84147 and MDL-84148.

UX changes to the assignment submissions page

The assignment submissions page has new menus, filters, and headers (See https://moodledev.io/general/releases/4.5#assignment-improvements—phase-1 for a full list). More changes are planned. We liked the new assignment options. All the selection options moved to the top. You can filter by submission status (i.e. submitted, not submitted, draft).

Moodle assignment interface with filters active

AI subsystem

There is a separate blog post discussing the new AI subsystem in Moodle 4.5. OpenAI and AzureAI are supported; we were able to evaluate OpenAI.

Open Badges 3.0

Moodle is working toward supporting Open Badges 3.0. This work will be spread across multiple releases. Two improvements landed in Moodle 4.5:

  • MDL-43938: The uniqueness requirement for badge names has been removed.
  • MDL-82057: Badges can be imported from one course to another using Course Reuse> Import. The imported badge has all the metadata of the first badge, but none of the issuing criteria. It’s also not active. The image is properly deduplicated.

Report Builder

We evaluated numerous improvements to Moodle’s Report Builder, all of which worked as advertised. The biggest is the ability to delete multiple cohorts at once:

  • MDL-52046: this is the option for deleting multiple cohorts at one time.
  • MDL-81330: can now filter based on the cohort within the class participants window.
  • MDL-80123: admin preset reports now work correctly (previously, there was a bug around deleting presets).
  • MDL-82331: time filtering can now go down to the minute (previously could only go down to the hour). It passes.
  • MDL-82529: adding the option to filter cohorts by custom fields.
  • MDL-81399: The relational database now has fields for users’ time zones and languages. As a result, it’s possible to use these to filter custom reports.
  • MDL-82114: Can now filter by the plugin when creating a custom report from the “Files” source.
  • MDL-82512: Can now filter by the plugin when creating a custom report from the “Author” source.

Audio-video recording in TinyMCE

Tiny MCE offers built-in features for recording audio and video. These updates expand the offerings so users can create screen recordings and recordings can be paused and resumed.

  • MDL-81212: Tiny/RecordRTC: Add Screen-recorder button.
  • MDL-81111: Tiny/RecordRTC: TinyMCE conversion – add a “Pause” button for recording A/V.

Completion tracking

Restoring old courses brings up a weird assortment of completion tracking settings. Sharon Strauss from Haverford created this short video about completion tracking to show people what these settings are and how they can quickly change the settings:

What’s next?

Save the date! The Summer 2025 Hack/Doc Fest will be at Swarthmore College in Swarthmore, Pennsylvania, from June 10-12.

Winter 2023 Hack/Doc at Swarthmore

Paper sign taped to glass door
Kohlberg Hall, our home away from home for the next three days

CLAMP returned to Swarthmore College for three days of intensive evaluation of Moodle 4.0 and Moodle 4.1. Overall, the group’s impression of Moodle 4.0 and 4.1 was favorable, echoing the impression of the Summer 2022 Hack/Doc at Carleton College. We also did not discover any unpleasant surprises with the upgrade process. Read on below for details of the various issues we discussed.

Text editors

A quote from King Lear typed into a text editor
TinyMCE 6.x in Moodle; it’s possible to disable the icon. Note the word count and contextual formatting.

Atto, a rich text editor developed in-house by Moodle, has been the default since Moodle 2.7. TinyMCE has been available as an alternative. Moodle is now changing course, and TinyMCE 6.x is now available on Moodle 4.1, and will eventually replace Atto as the default text editor. There are now three text editors available on Moodle:

  • Atto HTML editor
  • TinyMCE 6.x (branded as TinyMCE HTML editor)
  • TinyMCE 3.x (branded as TinyMCE HTML editor (legacy))

Overall TinyMCE provides a more streamlined experience than other editors. One feature we liked was that you can select a block of text and then use a pop-up menu to apply formatting, similar to Tumblr and WordPress. There are a few things to note:

  1. You cannot apply font colors to text. This follows from Atto, which significantly limited the available colors on accessibility grounds. It does not sound like Moodle intends to change this behavior.
  2. Embedding links to documents and images aren’t properly supported yet; it will be in Moodle 4.2 (MDL-76520). CLAMP may backport this fix to Moodle 4.1 if there’s interest.
  3. The site administrator cannot configure toolbar buttons, as you can with Atto and TinyMCE legacy. Moodle recommends using capabilities instead. CLAMP is working on a list of these.
  4. When copying and pasting from Microsoft Word, TinyMCE properly cleans up all the custom CSS.

CLAMP does not recommend making TinyMCE the default until the link plugin is available, which should be in Moodle 4.2 or sooner.

Boost

Menu showing topics that can be dragged and dropped to re-order them
Dragging a topic on the left-hand navigation menu to change the order.

We noticed a number of interesting changes to the default Boost theme:

  • Boxes can be removed by switching from default to plain in appearance
  • Menu items at the top can be customized in Boost admin settings
  • Sections can easily be rearranged in the Navigation menu, and this will renumber the Topics accordingly
  • The Navigation menu shows items within topic sections
  • The Block drawer is on the right and collapsed by default
  • A collapse/expand option is available at the top of the course, but not in the Navigation menu
  • The new move option (in the vertical three dots on right) is MUCH easier to use
  • You can easily show/hide the Navigation menu (left) and block menu (right)

Gradebook reports

The grade book has a new Single View interface. The functionality is the same as Moodle 3 but the navigation and some of the behavior are different. Single View has more descriptive navigation but may take more clicks to get where you want.

You can select or search for users or grade items. You need to turn on editing (top right) to make changes to grades (this is a change from Moodle 3). Overall there are more steps than in Moodle 3 but possibly clearer for new users. You have to find the override/exclude options under the Actions menu instead of at the top of the table, which may be more mobile-friendly.

Upgrade testing

We did not experience any significant issues upgrading a Moodle 3.11 instance to Moodle 4.1. CLAMP has published a Google Sheet showing the various supported versions of PHP, MySQL, MariaDB, and PostgreSQL.

Swarthmore vs Swarthmore

CLAMP investigated whether to pronounce “Swarthmore” with or without the first “r” before turning to more profitable tasks, like extra credit calculation in the gradebook.

Reverse chronological order

There was some discussion around ordering topic sections in reverse chronological order. This is popular at Bucknell University. This is a manual setup: Instructors create topics in reverse order. For example (in a ten-week term), Topic 1 will be Week 10, Topic 2 = Week 9, etc. When the topics are created, instructors can set Restrict Access to a Date and time, which will then be automatically shown after said date/time. Asynchronous (and possibly synchronous) instructions will be needed. CLAMP also discussed the possibility of a small plugin that can do a one-time reverse-ordering of topic sections.

Database presets

The Database activity has new presets that may make it easier to use for journals and other uses such as diaries. Presets simply create the fields for you, but they can be updated and more can be added after the fact – no other settings are affected by the presets. Moodle comes with the following presets:

  • Image database preset – fields are title, image, description (alt text is a forced field, but you can’t make it required) (for those using Domains, this might be a decent substitute for an image-based splot)
  • Journal preset – entries are not private- all students see all other students’ entries. Date shows up at the bottom of the entry. This makes it less useful as an actual diary for personal use unless moderation is turned on and the instructor doesn’t approve anything.
  • Proposals preset – fields for title, summary, and content and then a field for whether or not it was approved (presumably for the instructor to update)
  • Resources preset – fields are title, author, cover (image), description, weblink, drop-down (type of resource – have to go in and edit the dropdown items manually) (useful for a group resource creation assignment).

Course reuse

We revisited the new Course reuse page, which we also discussed at Carleton. Import, Backup, Restore, Copy course, and Reset are all grouped under the “Course reuse” navigation item in the Course navigation. Navigating there brings up the Import page; the other pages are available from a drop-down at left. You may want to customize the “Course reuse” language string, which you can do by navigating to Site administration > Language > Language customization > English (United States) ‎(en_us)‎ > Open Language Pack > moodle.php  and then searching  “Only strings containing” with “reuse”.

Label, we hardly knew ye

Our old friend the Label resource has been renamed to “Text and Media area” (MDL-72531). It still behaves as it did before. One important note: when you have editing enabled, the label is listed in the left-hand Navigation menu, for easy manipulation. It’s listed using a truncated part of the text. If you duplicate it, the duplicated item appears in the navigation with the same text and (copy) appended. You will then need to modify the resource to update this. The students won’t ever encounter this issue.

Activity instructions

Moodle Assignment now has two separate text boxes for description and instructions. The (?) icon describes instructions this way:

The actions you would like the student to complete for this assignment. This is only shown on the submission page where a student edits and submits their assignment.

  • Descriptions can be displayed on the course page or within the module
  • Instructions are only displayed once a student “Adds a submission” or “Begins assignment” (timed)
  • Instructions can be used if you want to hide a prompt until a students starts an assignment
    Or give nitty gritty details: upload in a PDF format, title you file X, etc.

Event monitoring

Sharon Strauss from Haverford presented on Moodle’s event monitoring feature. This is not a new feature in Moodle 4.1 but many of the attendees were unfamiliar with it. Moodle defines numerous events that can be triggered, such as for new forum posts, or assignment submissions. With the event monitoring feature, you can allow teachers and administrators to subscribe to given events and receive email notifications. This is separate from any other built-in notifications.

Tour of Swarthmore’s facilities

Michael Jones, the Director Of Language And Media Centers\Makerspace at Swarthmore, kindly took the Hack/Doc attendees on a tour of Swarthmore’s instructional spaces. We visited a classroom equipped for active learning, a podcasting studio, a studio equipped for recording remote lectures, and a maker space.

What’s next

CLAMP will release a beta of Moodle 4.1 with the Liberal Arts Edition towards the end of January. The regular LAE releases will come out the week of January 16th. The next Moodle Hack/Doc Fest, focusing on Moodle 4.2, is tentatively scheduled for mid-June 2023, location to be determined.

Colgate Hack/Doc Fest: Day 1 – Moodle 2.4 LAE, Quickmail, Schedule, Bootstrap

On the first day of Moodle Hack/Doc Fest the doc’ers worked their way through the Moodle 2.4 feature set and started getting ready to review Moodle 2.5. They also kicked around the responsive Bootstrap theme for Moodle 2.4 and 2.5. Meanwhile the Hackers put together a candidate release for Moodle 2.4 and dedicated cycles to working on Scheduler, Quickmail, Language Lesson, and the Moodle app.

We had three presentations, starting with Ken Newquist’s (Lafayette College) The State of Moodle, followed by Charles Fulton’s (Lafayette College) Moodle Grabbag Featuring  Roster View and Course Timer and Carly Born’s (Carleton College) Assignment 2.4 Overview. The presentations are available on YouTubeRead more

Requesting Hacks, Fixes and Documentation for Hack/Doc Fest IV

Hack/Doc Fest is coming soon, and we’re starting to put together our list of possible tasks for the event. We’re in the process of gathering and reviewing the usability tests that a number of schools conducted in the spring, and we expect a good chunk of our work to be guided by those results.

As always though, we’re looking for suggestions from the community about things *you* want us to look at and work on. These can be bug fixes, hacks, functionality improvements, documentation, road testing, etc. 

Note: You don’t have to be attending Hack/Doc Fest to make suggestions — we’d like suggestions from the entire community.  Read more