Skip to content

hr-it-solutions/DD_J_plg_system_disable_bootstrap

Repository files navigation

DD_J_plg_system_disable_bootstrap

is a Joomla! system plugin for template developers to disable Bootstrap from the front end!

GPL Licence

In the front end of Joomla! some extensions calling the function JHTML::_('behavior.tooltip'), which adds Bootstrap JavaScript to html head. To avaiod this manually by hard coding, your scripts could be broken because of an assigned "jQuery hasTooltip" function.

Here DD Disable Bootstrap helps: This plugin unsets Bootstrap JavaScript files and also removes hasTooltip function from front end, to disable Bootstrap and also avoid errors which can result from the Bootstrap JS removal.

This plugin use the following snippet to remove:

jQuery('.hasTooltip').tooltip({"html": true,"container": "body"});

If you know what you're doing, you can change the following snipped at plugin settings if it differs from your version!

{"html": true,"container": "body"}

Note: It is not recommended to use together with Joomla! default templates like tpl_Protostar or
any other template based on Bootstrap!

System requirements

Joomla 3.x +
PHP 5.6.13 or newer is recommended.

DD_ Namespace

DD_ stands for Didldu e.K. | HR IT-Solutions (Brand recognition)
It is a namespace prefix, provided to avoid element name conflicts.


Author: HR IT-Solutions Florian Häusler https://www.hr-it-solution.com
Copyright: (C) 2011 - 2017 Didldu e.K. | HR IT-Solutions
http://www.gnu.org/licenses/gpl-2.0.html GNU/GPLv2 only