Created
May 10, 2017 18:11
-
-
Save stevewithington/05c3dc946e545040f6354bf7de0f03c6 to your computer and use it in GitHub Desktop.
Mura CMS: Admin Alert & Help Block Messages
This file contains hidden or 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> | |
// add to an event handler | |
public any function onContentEditMessageRender(event, m) { | |
// reference to the event, if needed | |
var e = arguments.event; | |
// could also get a reference to event via Mura Scope | |
var mse = arguments.m.event(); | |
// this example merely shows how to render a simple message | |
return '<div class="alert alert-info">You rock</div>'; | |
// for markup examples, visit http://docs.getmura.com/v7/mura-ui-markup-conventions/admin-alerts-and-help-blocks/ | |
} | |
</cfscript> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment