CodePen.io Moodle Text Filter Release

on Feb 13, 2014 in Moodle | 0 comments

Syntax highlighting is hard. So is porting a syntax highlighter from platform to platform. So we thought, “Why not be lazy?” Bam. Introducing the CodePen.io Moodle Text Filter – for the lazy man (or woman). This plugin converts any Pen URL into an embed of that Pen. Here’s a brief overview of what we’re talking about. Put some text into the ol’ text editor, and if it contains a link to a Pen (i.e. /pen/) the filter will embed the Pen. Notice that in the above image the first two lines are both a Pen URL, but look at the output: Only the first one was embedded. That’s because a link to a pen is escaped by the filter. The third line wasn’t converted because it isn’t a link to a Pen, it is a link to the details page. The fourth line wasn’t converted because, I don’t really have to explain it do I? What kind of terrible...

The Simplex Project: Introduction

on Jan 22, 2014 in Moodle | 0 comments

It’s no secret that Moodle is geared toward college and university use, or at least to higher-level learning, but there’s still a huge contingent of primary school users out there. Unfortunately the attitude generally is “take it or leave it” when it comes to usability for small children and themes exemplify this more than anything. We’ve decided to change that. Introducing Simplex, a Moodle project designed specifically for primary student and touch-device users. We don’t mean just a large logo in comic-sans or bright pink background with the normal Moodle interface resting on top. We mean a bottom-to-top redesign of the user interface and experience. Currently we’re hoping for a beta release around May and a stable release around July. If you’re interested in helping out head to the project page to see how you can help. If you just want...

I’m Now a Moodle Contributor!

on Jan 19, 2013 in Moodle | 0 comments

I’ve reported a lot of bugs (some bogus, some good) for Moodle and participated in several more over the last few years, but up until now that’s been the limit of my efforts. Well that’s all changed now! Introducing MDL-23504: “Transparency and RGB support to colour picker” and MDL-36991: “Conditional activity restrictions should be displayed as a list”. The first was an older reported bug that I discovered when integrating the colourpicker setting into Zebra. Not only did I add transparent support but a few others like: currentColor, inherit, rgb(), rgba(), hsl(), and hsla(). The second was an enhancement request that I filed and with guidance from Moodle HQ was able to successfully implement. So what did I learn? A lot about Moodle APIs and functions to start, but I also learned a lot about the development cycle, the need for coding style,...

Moodle Plugins Directory Statistics

on Dec 17, 2012 in Moodle | 0 comments

I recently noticed that moodle.org added some statistics to plugin pages, which had been a requested feature for a while. Maybe I’m just prideful but I like seeing how many people are using my contributions. Of course, just having a number doesn’t really mean that much unless you can compare it to something. Which is what the stats page is for. So let’s take a look at my favorite plugin in the Directory, Zebra (Ok, maybe I’m biased). Actually, I only thought about it because I saw it was on the lists! Let’s take a look at the 2012 graph: Over 9,000 downloads and counting 11th most downloaded plugin (all categories) 6th most downloaded theme Now for the last 2 months: 8th most downloaded plugin (all categories) 3rd most downloaded theme Of course you can’t take this too seriously because this has no way of knowing the number of downloads coming from...

Customize Moodle theme based on Language

on Dec 7, 2012 in Moodle | 1 comment

The other day I got an interesting request from a site administrator using my Zebra theme: I look after a lot of bi-lingual moodle sites… one school would like an English language banner with English content and a Welsh with Welsh. At the moment there’s no way to specify different banner images for different languages. Is this something that you might/have consider(ed) for future versions of Zebra? Truthfully, it’s not something I’ve ever considered (no offense!) because at the moment there’s not really a “true” multi-site configuration for Moodle, though it may be coming. But the more I thought about it, the more I thought 1) the request isn’t really specific to Zebra and 2) Faking multi-site might be really easy by using cohort syncing and blind-groups in different categories (but that’s beside the point). So I thought about it,...