Created
August 19, 2014 16:21
-
-
Save stevewithington/f821fd10549ca4ac6c1d to your computer and use it in GitHub Desktop.
Mura CMS : How to dynamically alter which theme Mura will use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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