Spiffy course format
| Spiffy course format | |
|---|---|
| Type | Course format |
| Set | N/A |
| Downloads | https://moodle.org/plugins/format_spiffy |
| Issues | https://github.com/adamjenkins/moodle-format_spiffy/issues |
| Discussion | https://moodle.org/plugins/format_spiffy |
| Maintainer(s) | Adam Jenkins (WiseCat) |
Spiffy is a course format that shows each section as a page of colourful activity cards. Students see the step to do now, and can do many activities on the card without leaving the course page. Teachers see what needs their attention on the course page.
Spiffy 0.1.2 is an alpha release. Try it on a test site before you use it in a live course.
Installation
Install the plugin from the Moodle plugins directory, or download the ZIP file and follow Installing plugins. The files go in the folder course/format/spiffy, inside Moodle's public folder. The plugin supports Moodle 5.3 only. It needs no other plugins, external services or accounts.
To use it in a course, choose Spiffy as the course format in the course settings. Step numbers, unlock hints and progress depend on activity completion and access restrictions, so it works best in courses that use both.
What students see
Spotlight view

In the spotlight view, the current step is large, on the stage, and the section's other cards are in a strip beside it. The other sections shrink to a bar with a progress ring and a Show activities button.
The view starts with the open, unfinished steps of the highlighted section. If there are none, it starts with the first open, unfinished step of the course. Activities that track completion come first.
- Click a card to bring it onto the stage. The address of the page changes, so you can link to a card, and the browser's back button works.
- Click Open alongside (or Ctrl-click a card, Cmd-click on a Mac) to add a card to the stage, and Close to remove it. Narrow screens show one card at a time.
- Click Show me everything to switch to the full list of cards, and again to switch back. Each user's choice is remembered. In the full list, clicking a card opens it in the spotlight view.

Steps, locked cards and progress
- Activities that must be done in order are titled "Step 1", "Step 2" and so on. By default, an activity is numbered when its access restriction requires another activity in the same section to be completed, or when another activity there requires it.
- A step can say what it unlocks, for example "Complete this step to unlock Step 2."
- Pointing at a locked step highlights the step to do first, with the label Complete this first, and draws arrows along the chain of steps. Screen readers get the hint as text.
- The progress ring counts only activities whose completion is tracked.
- When a student finishes a section, confetti bursts from it and screen readers announce it. There is no confetti for users whose device asks for reduced motion.
- Text and media placed after the last step of a section is for while the steps are under way: it disappears once the student has completed every step of that section that tracks completion.
What's next and Recently viewed
What's next, at the top of the page, lists up to five open activities. Those overdue or due within seven days come first, followed by other unfinished activities that track completion, unopened ones first. If there is room, it suggests other open activities under Have a look at this. Users who can manage activities do not get this list.
Recently viewed is a short row of links to the last activities, up to five, that the user looked at in the course. Teachers have it too. Each person sees only their own.
Tools on the cards
Enrolled users who cannot manage the activity have these tools on every card that is not locked:
- My notes: a private note on the activity. Only the student can see it. Click Save to my notes to save it; saving an empty note removes it.
- Ask my teacher: a question to a teacher about the activity. After a confirmation it is sent as a personal message with a link to the activity. The teachers offered are the course contacts whom the student may message; in a course with separate groups they must share a group with the student, or be in no group and have access to all groups. Messaging must be turned on for the site. A student can send 30 questions in an hour.
- How confident do you feel?: shown once the activity is done, with the answers Not confident, Unsure and Confident.
Activities on the card

These activities can be done on their card. An activity that does not meet the conditions has a button that opens its own page, as do all other types of activity.
| Activity | What works on the card |
|---|---|
| Assignment | Online text as the only submission type, individual submissions, no time limit, while submissions are open. Text written in the full editor is edited on the assignment page. |
| Book | Up to 10 chapters and 1500 characters. Books open their own page unless you set them to be inside the card. |
| Choice | Answering the choice and seeing the results it allows. |
| Database | Up to 6 fields of the types text, text area, number, URL, menu, radio button and checkbox. Classmates' latest entries can be commented on and rated if the database allows it. |
| Feedback | One question (labels and page breaks are not counted): multiple choice, rated multiple choice, numeric, short text or longer text. |
| File | PDF files and images, unless the file is set to force download. |
| Forum | Reading and replying, in a single simple discussion forum or a standard forum with exactly one discussion. |
| Glossary | Adding a term. Classmates' latest terms can be commented on and rated if the glossary allows it. |
| Lesson | Simple lessons: no password, time limit or dependency on another lesson, and only content pages and multiple choice (one answer), true/false, short answer and numerical questions. |
| Page | Up to 1500 characters. |
| Quiz | Exactly one question: multiple choice (one answer), true/false, short answer or numerical, with no password, time limit or similar rule. Dates, attempt limits and delays between attempts are fine. |
| URL | Links to one YouTube video. Nothing is loaded from YouTube until someone clicks Play video. |
Every activity on a card also has a link to its own page. Where viewing is a completion requirement, the card has a Mark as read or Mark as viewed button, so that the student decides when it counts as viewed.
For teachers
What needs my attention?
Users who can manage activities or see all grades have the What needs my attention? panel at the top of the course page. It lists, up to 12 items:
- new questions students have sent you from a card
- assignment submissions and quiz attempts to grade, with a Grade button
- glossary and database entries to approve, with an Approve entries button
- students who are stuck: they finished the steps that an activity requires at least seven days ago, but not the activity itself.
Counts respect separate groups. Preview as student switches your role, so that you see the course with locked cards and hints. Click Return to my normal role to go back. See Switch roles.
The For teachers panel

Each card has a For teachers panel with the activity's counts and, where they apply:
- new questions and who sent them, with Mark as seen
- the confidence results (totals only)
- Quick grade or Approve entries
- Extend the deadline, which opens the user overrides of an assignment, quiz or lesson that has a deadline
- Message those who haven't finished, which sends a personal message to each student who can open the activity and has not completed it. It shows how many students will get it and asks for confirmation first.
Editing
The pencil on each card opens a menu that works with edit mode off: Edit settings, Restrict access, Spiffy settings, Hide or Show, Duplicate, Assign roles and Delete, depending on your permissions. With edit mode on, the page uses Moodle's standard layout, so every editing feature works as usual.
Making a section sequential
- Turn edit mode on and open the edit menu of a section or subsection.
- Choose Force sequential and confirm.
Every activity after the first then waits until the previous activity with completion is complete. Restrictions the activities already have are kept. An activity is left open if no earlier activity tracks completion. Both completion tracking and access restrictions must be on.
Remove sequential, in the same menu, removes the restriction from every activity in the section, including any that were added by hand, and keeps their other restrictions.
Settings
Course settings

As well as Moodle's Hidden sections setting, the course format section of the course settings has:
- Columns: how many cards sit side by side when there is room, 1 to 4 (default 3).
- General section always open: the General section always shows its activities (default No).
- Section label: the label above each section's name: word and number (default), number only, or none.
- Word before the section number: for example "Week" or "Unit". Leave empty for "Section".
- Card design: soft (default), outline, flat or lifted.
- Page width: standard, wide (default) or full.
- Show the course index (default Yes).
- Keep the blocks drawer open on wide screens: on a screen at least 1400 pixels wide, the blocks drawer is open when the page loads (default No).
- Hint arrows point: forwards (default), backwards, or off.
These features can be turned on or off, and are all on by default:
- Spotlight view. When it is off, the page always shows the full list.
- Activities on the card. When it is off, every card opens the activity page.
- "Mark as done" on cards. When it is off, students mark activities as done on the activity page.
- My notes
- Ask my teacher
- Confidence check
- Celebrate finished sections
- What's next
- Unlock hints: the text that says which step a card unlocks. The arrows have their own setting.
- Teacher tools: the attention panel, the For teachers panels, the pencils and Preview as student.
- Recently viewed
Section settings
- Label above the section name: a short label, for example "Before we begin". It follows the course's section label: "Section 1 · Before we begin".
- Step numbers: Only activities that must be done in order (default), Number every activity or No numbers. Numbers do not enforce an order; access restrictions do.
Activity settings
In the Spiffy course format section of an activity's settings:
- Button text: the text of the card's button. Leave empty for "Start" followed by the activity name.
- Card width: automatic, column or full width.
- Accent colour: automatic (green, amber and coral in turn), or one of seven colours.
- Inline or open page: whether the activity is done inside the card or opens its page. Only the activities in the table above have this setting. An activity that does not meet the conditions opens its page anyway.
Site settings
In Site administration > Plugins > Course formats > Spiffy:
- Enable linear navigation: show Previous and Next buttons on activity pages (default Yes).
- Course defaults: the default for each of Spiffy's own course settings above. Courses that have never saved a setting follow these defaults.
Capabilities
The plugin adds no capabilities of its own. It uses Moodle's, including:
- moodle/course:manageactivities (Manage activities): the teacher panels, the pencil menu, Force sequential and Remove sequential. Users with this capability do not have the student tools.
- moodle/grade:viewall (View grades of other users): also gives the teacher panels.
- moodle/course:bulkmessaging (Send a message to many people): Message those who haven't finished.
- moodle/role:switchroles (Switch to other roles): Preview as student.
What can be done on a card also follows the activity's own capabilities and dates.
Privacy
The plugin implements the Privacy API. It stores:
- students' notes, which other users cannot see in the course
- confidence answers
- a log of questions sent to teachers: who asked whom, about which activity, when, and when it was marked as seen. The text of the question is not stored here, as it is a Moodle message.
- as user preferences, whether the user chose the spotlight or the full list, and the activity cards they last looked at in each course.
When a user's data is deleted, their notes and confidence answers are deleted and they are removed from the question log, which keeps the other person's record of the question. See Data privacy.
A course reset that clears completion or unenrols users also clears the course's notes, confidence answers, question log and Recently viewed lists. Other resets leave them. A course backup includes the activities' Spiffy settings and, with user data, the notes and confidence answers, but not the question log.
YouTube videos are played from YouTube's youtube-nocookie.com address, only after someone clicks Play video.