Last active
March 1, 2016 22:15
-
-
Save Mark-H/1025509 to your computer and use it in GitHub Desktop.
Plugin to disable tooltips in MODX globally.
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
<?php | |
// Disables tooltips globally. | |
// | |
// Create a new plugin and add the following system event: OnManagerPageInit | |
// | |
// © 2010 Mark Hamstra <[email protected]> | |
// Buy me a beer? Paypal hamstra.mark at gmail.com. | |
// | |
// Licensed under the MIT license | |
$modx->regClientStartupHTMLBlock(' | |
<script type="text/javascript"> | |
Ext.onReady(function() { | |
Ext.QuickTips.disable(); | |
}); | |
</script> | |
'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment