Blocks: Theme selector

block_theme_selector
Maintained by Gareth J Barnard Gareth J Barnard
Provides a quick way of changing themes or clearing the theme cache.
124 sites
100 downloads
8 fans

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.

Screenshots

Screenshot #0
Screenshot #1
Screenshot #2

Contributors

Gareth J Barnard
Gareth J Barnard (Lead maintainer)
Picture of John Syrinek
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, 7 Feb 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.
    - readme.md -> please consider creating a symlink from a 'README.txt' to the readme.md to enable easier reading of the .md extension

    bug tracker link should probably be : https://github.com/johntron/moodle-theme-selector-block/issues
  • Picture of John Syrinek
    Sun, 10 Feb 2013, 1:44 AM
    Thanks Aparup, I've corredted these issues.
  • Picture of John Syrinek
    Sun, 10 Feb 2013, 1:51 AM
    Aparup, can you also take a look at my jQuery plugin? It's required for this plugin to function correctly: https://moodle.org/plugins/view.php?plugin=local_jquery
  • Anthony Borrow
    Wed, 27 Feb 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
  • Picture of Dan Marsden
    Wed, 16 Mar 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, 16 Mar 2016, 6:50 PM
    Thank you for reviewing Dan.
Please login to post comments