Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Plugin to disable tooltips in MODX globally.
<?php
// Disables tooltips globally.
//
// Create a new plugin and add the following system event: OnManagerPageInit
//
// © 2010 Mark Hamstra <hello@markhamstra.com>
// 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
You can’t perform that action at this time.