Developers Switch themes easily using Theme Selector Block

Gareth J Barnard, the maintainer of Essential theme which is one of the most downloaded themes in the Moodle themes database has developed a block which allows you to switch the themes easily. The block named “Theme Selector” is basically meant for theme designers who used to constantly switch themes during development.

I have tried the same on my development server and found it very useful especially if you are a theme designer as it allows you to switch different themes easily without the conventional ‘Theme selector’ or ‘Theme URL’. It requires the capability ‘allowthemechangeonurl’ core theme setting to be checked before this block can be used.

Theme Selector block as on my dev server

You can download the Theme Selector block from the GitHub page  –  You don’t need anything else like jQuery as the block now gets from core via the fully rewritten AMD module.

The block will be released in the Moodle plugins database if people will mark the original forum thread as useful. So, please make sure to  mark the forum thread mentioned in the references below as useful.


Jaswinder Singh

Jaswinder Singh, passionate about using Moodle in improving the Indian Education System and reaching the students in far flung areas where still education seems to be a impossible prospect of life. He is the author of the popular Moodle Book "How to use Moodle 2.7". In October 2016, Jaswinder was elected as the Moodle User's Association Committee member - the first to make it from India.

Related Articles