Your Moodle version

General plugins (Local): Moodle flavours

Maintained by Picture of David Monllaó David Monllaó
Tool to package (into downloadable files) and deploy sets of Moodle plugins, settings, language packs and language customizations

With this plugin Moodle Administrators will be able to create a flavour from their installation, selecting which settings, plugins and language packs will be packaged into a compressed file. They can then, share the package with the Moodle community, store it as a backup or use it to replicate the flavour to other installations they manages. It could also be useful for administrators with little Moodle experienced, allowing them to explore the Moodle settings and setup recommended by others.

It has been developed as part of Google Summer of Code 2011 and mentored by Michael de Raadt.

Moodle 2.1 or higher required, to install, please, follow the README steps.


Screenshot #0


Picture of David Monllaó
David Monllaó (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Ravi Vare
    Sun, Oct 2, 2011, 12:25 AM
    Hi David,
    Pl. Look in

  • Picture of David Monllaó
    Mon, Oct 10, 2011, 6:49 PM
    Hi Ravi, thanks for the info. Related issue:
  • Picture of Anders Jakobsson
    Wed, Oct 26, 2011, 9:44 PM
    This is a wonderful function for someone administrating several Moodle sites. It works great and saves a lot of working hours.
  • Mark Aberdour
    Fri, Mar 23, 2012, 10:36 PM
    Hi, I notice the original intention was to setup a database on to allow the community to submit their Flavours. Is this being progressed? Thanks! Mark
  • Picture of Wesley Ellis
    Thu, Jul 19, 2012, 8:33 PM
    Tested in 2.3.1 and there is currently an error when trying to package a flavour. You can't select any options (Check boxs invisible) PHP returns the following error

    Notice: Trying to get property of non-object in /lib/pluginlib.php on line 198
  • Picture of David Monllaó
    Fri, Jul 20, 2012, 8:43 PM
    Thanks for the info Wesley, I filled a new issue ( with your message, you can keep track of the progress there
  • Picture of Bas Brands
    Tue, Nov 13, 2012, 10:19 PM
    Hi David,

    I just installed and used the flavors plugin. It is simply awesome, your work saved me a lot of work. Thank you very much for all your work and sharing this!
  • Picture of Wesley Ellis
    Fri, Nov 30, 2012, 6:19 PM
    Hi David, The current commit in master seems to be broken, the check boxes on deploy flavour are now bullet points. Seems to affect Firefox and IE9 Moodle Version 2.3.3
  • Picture of David Monllaó
    Sat, Dec 8, 2012, 9:20 AM
    Hi Wesley,

    Many thanks for the report, hopefully during this weekend I'll find time to solve it.

  • Picture of David Monllaó
    Sun, Dec 9, 2012, 7:57 PM
    Hi Wesley,

    The commit you commented about was a work in progress for Moodle 2.4, I've updated the download page of the 2.3 version to point to the MOODLE_23_STABLE branch, so if you are using Moodle 2.3 checkout from the MOODLE_23_STABLE instead of master.

    I've also released the new version for Moodle 2.4 which solves the flavours deployment problem with the tree which causes HTML warnings to be displayed like plain text.

    Thanks for reporting the issue,
  • Picture of David Monllaó
    Sun, Dec 16, 2012, 11:36 AM

    I've found a problem with the new version for Moodle 2.4 which prevents tree items to be selected, it's solved now, sorry for the inconvenience
  • Picture of tong adam
    Sun, Jul 5, 2015, 11:27 AM didn't work in Moodle 2.9 for packaging a flavour. Will it be updated?
  • Picture of Daniel Neis Araujo
    Thu, Oct 8, 2015, 3:27 AM

    it would be nice if there are any plans to update it to work with 2.9 or maybe 3.0,
    current error is:
    PHP Fatal error: require_once(): Failed opening required '/var/www/uc/lib/pluginlib.php' in /var/www/uc/local/flavours/ingredient/flavours_ingredient_plugin.class.php on line 26,
  • Picture of David Monllaó
    Mon, Oct 12, 2015, 1:42 PM

    Thanks for reporting the issue Tong and Daniel, has been pluginlib.php final deprecation, it shouldn't be too hard to update the code to use core_component (lib/classes/component.php) instead. I will try to find time for it, but feel free to send a pull request as my daughter will be born one of these days and I doubt I will have time for it at short term.

Please login to post comments