Skip to content

Instantly share code, notes, and snippets.

@exside
Forked from Mark-H/disabletooltips.plugin.php
Created December 15, 2015 15:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save exside/60c7f05fc06d9f57ce86 to your computer and use it in GitHub Desktop.
Save exside/60c7f05fc06d9f57ce86 to your computer and use it in GitHub Desktop.
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 <business@markhamstra.nl>
// Buy me a beer? Paypal hamstra.mark at gmail.com.
//
// Licensed under GPL v2 (or later)
$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