Theme selector

Blocks ::: block_theme_selector
Maintained by Gareth J BarnardGareth J Barnard
Provides a quick way of changing themes or clearing the theme cache.
Latest release:
247 sites
23 fans
Current versions available: 1

This block helps admins, theme designers or indeed users (via the 'allowthemechangeonurl' core setting) to quickly change themes.  Admins can additionally clear the theme cache.


Screenshot #0
Screenshot #1
Screenshot #2


Gareth J Barnard
Gareth J Barnard (Lead maintainer)
John Syrinek: Original author
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • MD shot of me from his iphone4
    Thu, Feb 7, 2013, 9:29 AM
    Hi John,
    This looks ready to publish except for the minor details below,
    from validation results :
    - "In your version.php you have specified $plugin->requires = 2012112900, which corresponds to Moodle 2.4 and will not install on Moodle 2.0 that you chose in the form". Please correct the requires or the supported moodle versions.
    - -> please consider creating a symlink from a 'README.txt' to the to enable easier reading of the .md extension

    bug tracker link should probably be :
  • John Syrinek
    Sun, Feb 10, 2013, 1:44 AM
    Thanks Aparup, I've corredted these issues.
  • John Syrinek
    Sun, Feb 10, 2013, 1:51 AM
    Aparup, can you also take a look at my jQuery plugin? It's required for this plugin to function correctly:
  • Anthony Borrow
    Wed, Feb 27, 2013, 8:10 AM
    I've sent John an email about needing to fix the js file which makes the theme selector not work if the moodle install is not in the webserver root. I'm going to let him fix that before making the theme selector block making public. Peace - Anthony
  • Dan Marsden
    Wed, Mar 16, 2016, 7:18 AM
    nice simple tool - works well, I tested this on 3.0 and master - looks ready for approval to me thanks Gareth!

    It does seem strange that the "clear theme cache" button on theme/index.php doesn't seem to show any confirmation that the cache has been cleared - but that's not something you can address within the block.
  • Gareth J Barnard
    Wed, Mar 16, 2016, 6:50 PM
    Thank you for reviewing Dan.
  • Chuck Johnston
    Wed, Dec 11, 2019, 8:11 AM
    Are there any plans to get this approved for 3.8? I have a client that wants to have different themes for each categories.
  • Gareth J Barnard
    Wed, Dec 11, 2019, 8:17 PM
    Dear Chuck,

    Ah, version will be fine on M3.8. I've just updated the release. But it won't solve your specific issue as it does not work that way.

    Kind regards,

Please login to post comments