Why javascript validation or maps doesn't work?

Missing screencast
Help us improve the documentation page and Win a free copy of BB Flashback PRO*

Contact Enhanced uses MooTools to validate the form, load the Maps and to perform effects and AJAX/JSON calls;

MooTools is the Joomla default javascript library, therefore most templates use MooTools for their fancy things such as menus and slideshows; Your template or other extensions (modules, plugins, components) shouldn't use another javascript library other than MooTools, however if it does use another library such as JQuery it might be incompatible with many MooTools based scripts; Some templates even remove MooTools calls from the output HTML, then no MooTools related scripts will work.

How to find out if your template is using jQuery:

  • You can right click on your browser's window and click on "View source" and check all <script> tags inside the <head> tag; or
  • Use a Firefox plugin called FireBug, to inspect the code.You can view all JS files inside the Net tab.

JQuery can be used with MooTools, as long as the developer follows JQuery guidelines. You might want to suggest this feature to the template's developer:

Some users have reported that using a Plugin called jQuery Easy has helped them to solve the problem.

Always choose extensions that are 100% compatible with Joomla Framework;
Avoid JQuery in Joomla based websites, this way you will avoid incompatibilities and will load less javascript, therefore your website will load faster.



Connect with us

We're on Social Networks. Follow us & get in touch.
You are here: Start page