joomdev / Astroid-Framework

Powerful framework for designers and developers to create responsive, fast & robust Joomla based websites and templates.
https://github.com/templaza/astroid-framework
GNU General Public License v2.0
105 stars 43 forks source link

Template Astroid Zero & One : jQuery error : ..tooltip is not a function #178

Closed conseilgouz closed 4 years ago

conseilgouz commented 4 years ago

With template Astroid Zero version 2.4.0, there's a jquery error ..tooltip is not a function. see https://www.joomdev.com/forum/astroid-framework/5258-problem-with-astroid-update

This is due to bootstrap update.

In many core Joomla components/modules/plugin, the following line causes this issue : JHtml::_('bootstrap.tooltip');

You may also find it in template Zero and One overrides : com_search, layouts/joomla/content, mod_finder, mod_login, ...

For example, if you have a mod_login module on your page, you'll see jquery tooltip error which causes screwy pages display.

To fix this issue, just comment out JHtml::_('bootstrap.tooltip'); line.

conseilgouz commented 4 years ago

Just found a discussion about obsolete directories that should be removed https://www.joomdev.com/forum/jd-fitness/5304-modal-window-only-working-when-logged-in-as-super-user

"by removing vendor, jui folders and script.js file from SITE_ROOT/templates/astroid_template_zero/js folder."

Just tried it and it solves this issue.