Skip to content

Instantly share code, notes, and snippets.

@stevewithington
Created August 19, 2014 16:21
Show Gist options
  • Save stevewithington/f821fd10549ca4ac6c1d to your computer and use it in GitHub Desktop.
Save stevewithington/f821fd10549ca4ac6c1d to your computer and use it in GitHub Desktop.
Mura CMS : How to dynamically alter which theme Mura will use
<cfscript>
// drop this in your Site eventHandler.cfc
public any function onRenderStart(event, $) {
arguments.$.event('altTheme', 'MyTheme');
}
// this assumes you have a theme directory called 'MyTheme' of course
</cfscript>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment