Cards format

Course formats ::: format_cards
Maintained by John Maydew
Show each section of your course as a large card

Cards format v1.5.1

Moodle 4.1, 4.2, 4.3, 4.4, 4.5, 5.0
Released: අඟහරුවාදා, 22 අප්‍රේල් 2025, 11:33 PM

Change Notes

v1.5.1

  • #21 Fixed a PHP undefined array index warning that would appear in courses containing empty subsections
  • #23 Fixed an issue with subsections placed in the general section / section #0

Full Changelog: v1.5.0...v1.5.1

v1.5.0

  • #19 Add support for subsections, added in Moodle 4.5
  • #20 Add support for Moodle 5.0, and PHP8.4

Full Changelog: v1.4.3...v1.5.0

v1.4.3

  • Adds Moodle 4.5 support
  • Adds PHP8.3 support

v1.4.1

  • #16 Fixed an issue where card images would disappear whenever a section was updated
  • #17 Fixed an issue on Moodle 4.4 and later where it wasn't possible to modify the card using the header actions

Full Changelog: v1.4.0...v1.4.1

v1.4.0

This version drops support for Moodle 4.0 and earlier

  • #10 Section breaks are backed up
  • #13 Course home page button can be added as a link to the section navigation, if enabled
  • #14 Added support for Moodle 4.4
  • Improved size of cards on larger devices
  • Modernised the look of the section navigation and section selectors
  • Moved the /cards backup element to /cardimage under a best practice plugin-specific backup element
  • Updated github-actions to use moodle-plugin-ci v4
  • Updated copyright notice

Moodle Cards format

A format which displays sections of your courses as cards with images, similar to format_grid or format_tiles. The cards format is an extension of the default Topics format to make it easier to maintain.

Features

  • Large cards with user configurable background images
  • Responsive cards scale down for mobile devices
  • Choose between horizontal and vertical cards, or square grids
  • Cards can display a user's completion progress for each section
  • Easily import images used in the grid format

Installation

The cards format only requires a version of Moodle still receiving general or security support. You can check whether your version of Moodle is supported by looking at the release calendar https://moodledev.io/general/releases

You must still have the default topics format installed on your site. There are no special installation steps, just install as you would any other plugin.

Install from Moodle.org

  • Download .zip file from https://moodle.org/plugins/format_cards
  • Navigate to /moodle/root/course/format
  • Extract the .zip to the current directory
  • Go to your Moodle admin control panel, or php /moodle/root/admin/cli/upgrade.php

Install with Composer

  • Navigate to /moodle/root/
  • composer require vidalia/moodle-format_cards

Install from git

  • Navigate to your Moodle root folder
  • git clone https://github.com/Vidalia/moodle-format_cards.git course/format/cards
  • Make sure that user:group ownership and permissions are correct
  • Go to your Moodle admin control panel, or php /moodle/root/admin/cli/upgrade.php

Install from .zip

  • Download .zip file from GitHub
  • Navigate to /moodle/root/course/format
  • Extract the .zip to the current directory
  • Rename the moodle-format_cards-master directory to cards
  • Go to your Moodle admin control panel, or php /moodle/root/admin/cli/upgrade.php

Version information

Version build number
2025042200
Version release name
v1.5.1
Maturity
Stable version
MD5 Sum
1dd058ec94232a3e0b79cfb23754635e
Supported software
Moodle 4.1, Moodle 4.2, Moodle 4.3, Moodle 4.4, Moodle 4.5, Moodle 5.0
  • Latest release for Moodle 4.1
  • Latest release for Moodle 4.2
  • Latest release for Moodle 4.3
  • Latest release for Moodle 4.4
  • Latest release for Moodle 4.5
  • Latest release for Moodle 5.0

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS tag
v1.5.1

Default installation instructions for plugins of the type Course formats

  1. Make sure you have all the required versions.
  2. Download and unpack the module.
  3. Place the folder (eg "myformat") in the "course/format" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation