Moodle versions in git

Source: Moodle Tips https://www.moodletips.com/moodle-versions-in-git/ All versions of Moodle are appropriately tagged in the Moodle git repository (git://git.moodle.org/moodle.git) so you can use the following to show the commits that relate to each version. Just a note too that major versions are branched using the convention MOODLE_XX_STABLE where XX is the version e.g. MOODLE_36_STABLE for Moodle 3.6. This gives you something…

Move download button and select below table

Source: https://www.moodletips.com/move-download-button-and-select-below-table/ If you are working with flexibile tables (lib/tablelib.php) in Moodle and have table download enabled, you can move the “Download table data as” select and button below the table by adding the following line before finishing your table setup: $table->show_download_buttons_at(array(TABLE_P_BOTTOM)); By default they appear above the table but this doesn’t always look so good…

French Friday : Le bloc HTML / HTML Block

Source: French Friday : Le bloc HTML / HTML Block | Moodle News Aujourd’hui j’aimerais vous parler de l’usage des blocs dans Moodle et du bloc HTML en particulier. Les blocs sont des zones d’informations rectangulaires qui peuvent être affichés dans la colonne de gauche ou de droite ou au centre de n’importe quelle page…

SMS Notifier issue – Moodle 3.2

A client of mine uses the SMS Notifier block with Clickatell to send messages to their students. Recently they ran into a small issue whereby only the first word of the message was being sent to the users phone. If you debug the message being sent /blocks/sms/lib.php – line 156, you will notice that the…

Get More Deeply Acquainted With Moodle 3.3’s Data Model Using This Tool

Source: Get More Deeply Acquainted With Moodle 3.3’s Data Model Using This Tool | Moodle News https://pixnio.com/textures-and-patterns/metal-texture/new-metal-round-pipes Moodler Marcus Green has updated his “X-Rays for Moodle” tool, called Moodle ER Diagram, a comprehensive display of the Moodle database. This time, it shows the intricacies of the model that powers Moodle 3.3. See our coverage on a…

Unknown Error Upgrading Plugin to Version

Source: Unknown Error Upgrading Plugin to Version – Moodle Tips If you are getting an error like this when attempting to upgrade a plugin: !!! Unknown error upgrading <pluginname> to version 2017042400, can not continue. !!! !! Error code: upgradeerror !! !! Stack trace: * line 340 of /lib/upgradelib.php: upgrade_exception thrown * line 549 of…