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…

XMLDB Editor and Reserved Names

Source: XMLDB Editor and Reserved Names – Moodle Tips One (of the many) good reasons to use the XMLDB editor in Moodle rather than hacking the db/install.xml file directly is that it warns you if you use a reserved name. For example: The red Reserved text after [XML] in the screenshot is indicating that the…