Moodle Plugins directory: Cards format | Moodle.org
Cards format
Course formats ::: format_cards
Maintained by
John Maydew
Show each section of your course as a large card
Latest release:
663 sites
359 downloads
19 fans
Current versions available: 2
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
- 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 your Moodle root folder
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 tocards
- Go to your Moodle admin control panel, or
php /moodle/root/admin/cli/upgrade.php
Useful links
Contributors
John Maydew (Lead maintainer)
Please login to view contributors details and/or to contact them
I've put in an enhancement for it on the repository: https://github.com/Vidalia/moodle-format_cards/issues/4
"From Site administration > Plugins > Course formats > Topics format and > Weekly format, the admin to disable or enable the indenting of items on course pages. (Indenting is enabled by default in new sites from 4.2 onwards.) The admin can also reset any indentation previously set on Topics and Weekly format course pages."
There are a couple of known issues already which are being tracked in GitHub: https://github.com/Vidalia/moodle-format_cards/milestone/2
Nice course format! How can I adjust the overlay in such a way that the icons are not grey?
Bert
Is there anything in the works for a Moodle 4.5 version?
Kind regards,
Mark
Bert -- Thank you for the kind words! If you're comfortable editing your site's CSS rules (and you have access), you can override the background colour of the labels and icons within cards by overriding the .bg-secondary class:
.card-overlay .bg-secondary {
background-color: blue !important;
}
You can add this into either your theme's custom SCSS rules, if the theme supports it, or wrap it in a tag and inject it into your site's "Appearance / Additional Html / Within HEAD" setting
If not, I can investigate adding it as a configurable option