Moodle-block theme selector

A block to quickly change themes. Great for theme developers!

View project on GitHub

Moodle theme selector (block)

A block to quickly change themes. Great for theme developers!

Build Status


Required version of Moodle

This version works with Moodle version 2015051100.00 release 2.9 (Build: 20150511) and above within the 2.9 branch until the next release and Moodle version 2015111600.00 3.0 (Build: 20151116) and above within the 3.0 branch until the next release.

Please ensure that your hardware and software complies with 'Requirements' in 'Installing Moodle' on '' / ''.

Free Software

The theme selector block is 'free' software under the terms of the GNU GPLv3 License, please see 'COPYING.txt'.

It can be obtained for free from:

You have all the rights granted to you by the GPLv3 license. If you are unsure about anything, then the FAQ - - is a good place to look.

If you reuse any of the code then I kindly ask that you make reference to the theme.

If you make improvements or bug fixes then I would appreciate if you would send them back to me by forking from and doing a 'Pull Request' so that the rest of the Moodle community benefits.


  1. Follow Moodle's instructions for installing plugins.
  2. Turn editing mode on.
  3. Go to Site administration -> Plugins -> Blocks -> Theme selector and decide if you want URL switching or not. When URL Switching is off only users with the 'moodle/site:config' capability will be able to change themes. Theme changes are permenant for all. When URL Switching is on everybody can change the theme but it will only be for them. The set site theme will remain as set by a user with 'moodle/site:config' capability.
  4. Add the "Theme selector" block wherever you like.
  5. The selector will show the current theme as the one selected.

Version Information



G J Barnard MSc. BSc(Hons)(Sndw). MBCS. CEng. CITP. PGCE. Moodle profile: Web profile :