Skip to content
You are here: Home arrow News & Info arrow Javascript Conflicts
Javascript Conflicts
Written by Sigrid Suski   

Triggered by new concepts such as Web 2.0 and Ajax a lot of Joomla! software developer use JavaScript for their components, modules and mambots.
Because of these requirements a variety of libraries has been created to make the development of such applications easier. Besides Ajax functions most of these libraries provide a basis for object-oriented programming, an abstraction layer for the comfortable working with the DOM and graphic effects such as animations.
These are among others the well-known JavaScript libraries like jQuery, MooTools and Prototype. Especially with graphical effects deal Moo.fx and Script.aculo.us.

Unfortunately these different JavaScript libraries don't work always together. If one developer would develop all add-ons used on a website, he would use one or two JavaScript libraries which do work together.

But what is the reality?

You build up a web site using Joomla!, developed by the Joomla! developer team. You use SOBI2 developed by Sigsiu.NET and you use a lot of other third party components, modules and mambots - and don't forget - the Joomla! template you use, developed by a template club (Joomlart, Rockettheme, a.s.o.).

So the probability to have different JavaScript libraries on your website which don't work together is high.
The more third party add-ons you have installed in your Joomla! the higher is the possibility to get incompatibilities. Therefore remove all modules and mambots which you do not use. This is also recommended for security reasons.

What is the result?

Some functions don't work. These can be e.g. the SOBI2 search function, the Wysiwyg-Editor or SigsiuTree or any other function.
Also a Javascript error will be generated. Depending on the browser you use this looks different. Firefox has an error console, where all the Javascript errors are noted. The site will be shown but some functions don't work. IE (M$ Internet Explorer) doesn't have such an error window. IE pops up an error message (mostly the "Operation aborted" message) and stops showing the page.
If a Javascript error occurs in the script of a third party add-on, it is the nature of Javascript, that other used scripts also won't work.

If this happens on your site, please note: this is NOT a bug in SOBI2, nor is it a bug in another component, module or mambot. It is just an incompatibility between different used libraries.

What can you do?

First, you have to find out which library (module, mambot) does not work with the libraries used by SOBI2.
Then you have to decide if you want to use this module, mambot or SOBI2.

How can you find the incompatible library?

Javascript libraries are either located in files with the extension .js or directly between <script> and </script>.

Certainly there are a lot of possibilities how the culprit can be found. You can remove the mambots and modules (often only unpublish doesn't help). Because I am most often don't have direct access to the CMS of the web site I prefer this method:

  • Click on the page where the error occurs.
  • Now let your browser show the generated source code (Ctrl-U for Firefox).
  • Copy this code in your clipboard and paste it into an editor. Preferably use a HTML editor for it like Dreamweaver or Komposer (formerly NVU).
  • Now look for Javascript files, like the following: <script language="javascript" type="text/javascript" src="http://www.site.com/modules/mod_supergood/myscript.js"></script>.
  • Delete the first line with this Javascript code, save the file and execute it in your browser.
  • Check out if the error still persists. If not, you have found the culprit. If the error is still there, delete the next line and so on.
  • Also delete the code between <script> and </script> which inserts Javascript code directly.

During this process the shown page won't look as is should because of the missing libraries, but don't worry about it.

Because each site is different, there is no general solution for this available.

See also Diagnosing JavaScript problems, written by aboututila.

Found problems with:
  • gAjax Scroller of Dynamic Drive
  • If the integrated TinyMCE in the Add entry form conflicts with other Javascripts, you can solve the conflict by switching off the Wysiwyg editor in the custom fields manager.
  • Also the mootools library used by Rockettheme templates can conflict with SOBI2 mootools.
  • IE PNG fix scripts often conflicts.
  • shSmoothSlideshow

We try to keep this list actual.


Digg!Del.icio.us!Facebook!
 

User Feedback

SIMPLY AMAZING!!!!! - Thursday, 16 October 2008
This is by far the absolute best Joomla Component I have ever come across. Super flexible, easy to customize and the support is just as great as the product itself...if not better!
I highly recommend you get your hands on this baby and start playing with it. Very nice indeed!
 
A high quality component and excellent support! - Monday, 13 October 2008
The support is great, and the Sobi2 component is continuously developed, getting better every day. The forum is excellent. If you run into any kind of problem, just post it on the forum and the problem is often solved immediately, either by the developers or the forum members! The forum help is really outstanding, and far beyond that offered by most other Joomla forums!
 
Key Component - Monday, 13 October 2008
How can I say enough about SOBI2 You can do so much with it its amazing. Had a little hiccup on an upgrade and posted a topic on the forum answered and fixed in no time. My hats off to these guys they are the best. :-)
 
Simply the best directory solution for Joomla - Sunday, 12 October 2008
Support from the developer via the SOBI community forum is excellent and the SOBI component is continuously developed meaning that it just keeps on getting better!
 
Powerful, Flexible, and Customizable Component - Friday, 10 October 2008
SOBI2 is a potential solution for a wide range of applications.
Because the SOBI2 component is so flexible/customizable, and has a wide range plugins/modules/extensions, it is somewhat difficult to adequately describe the scope of SOBI2's capabilities and potential applications. The Developers describe it as a "directory component ... to show entries of companies, clubs, persons, shops, products". This description perhaps understates the component's capabilities and potential applications.
 
Best Directory and probably best component ever - Friday, 10 October 2008
This component is simply the best component around regarding ease of use, flexibility and potentials, support (even if it's free) and community help.
This component is an absolute must for everyone who needs a directory or listing site.
 
Excellent support - Wednesday, 08 October 2008
An essential extension for any Joomla website. But I have to mention how excellent the support is on the SOBI2 forums. Questions are answered very quickly and there are always examples available. Top product!!
 
Amazing product & 1st class support in the forums - Wednesday, 08 October 2008
This is the best experience I've had with OS software and my wife (who isn't into computers) can't believe there are people like this out there. Can't recommend this extension highly enough.
 
Truely a great product - Tuesday, 07 October 2008
I have been doing some research on directory software for sometime and I have to say this is the best product I have come across. SOBI2 is has loads of features, highly customisable and adaptable to any type of listing and directory needs. Without any prior experience in Joomla and PHP I was able to install and use easily. There is a great support forum as well.
 
Sobi-Most Flexible and Adaptable Directory Extension - Tuesday, 07 October 2008
I have used this now twice on production sites and it is not only an excellent directory extension,but ideal for any listing environment.
The support is outstanding both from the forum users and developers.Development is ongoing and there are a number of excellent add ons.
Fully customizable -try it first!!!!
 
Professional strength directory component - Sunday, 21 September 2008
SOBI2 has plenty of features - I just keep finding new ones every week! The clean code, flexibility and power in SOBI2 are the perfect ingredients for a real web portal. Thanks to all the developers at Sigsiu.NET - well done! For anybody looking for a superb industrial strength Joomla directory extension - you've just found it.
 
Very flexible and powerful - Sunday, 14 September 2008
This software ranks with the best there is for free (and commercial), easy-to-use directory component for Joomla. I would have paid lots of money just to own this, but its FREE! Also, the Admin console is beautiful in its look. I have no problem running it for a long time now. This is a really good software. The code is very nice and clean. It's very easy to customize, and has got some really great plugins! Try it!
 
Master of all directories - Thursday, 11 September 2008
SOBI2 is the best COM for directories which I tested, and I tested ALL mayor directories.
 
Very powerfull! - Tuesday, 19 August 2008
Let me just say, I have big plans for this component. We have several projects on the horizon SOBI2 will be perfect for. Everything from a small directory of equipment to a free flowing video gallery for a non-profit organization. Very solid install, setup and configuration. Very, very good component and set of plugins.
 
Well built component with excellent support - Monday, 28 July 2008
SOBI2 is a truly excellent joomla component. I'm no good at all at coding from the beginning, so when i was asked to create a business directory for the company i work for i was a little worried about delivering. Along comes Joomla and SOBI2 and all the hard work is gone.
 
Just the best - Saturday, 19 July 2008
Thanks for a wonderful ware, easy to instal and configure and think its going to get better with new versions!
 
Couldn't ask for anything better - Wednesday, 09 July 2008
Simple to use, massively flexible, very performant. The new version is so customizable, includes extras and a busy forum so that getting advice, hacks, and tips is a breeze, even for us technically-challenged folk.
SOBI2 offered everything that our site was looking for directory component.
 
Great for my inventory project - Tuesday, 08 July 2008
I work for a non-profit arts organization and this was perfect tool for an inventory project that catalogged buildings in the county. We added in a lightbox for photos and the geo mapping tool to create Google maps in each record.
 
Best Joomla component ever - Wednesday, 18 June 2008
Sobi2 is an excellent component with suburb support, often within 1 hour :)
Also the free plugins works out of the box.
There are also not free plugins/addons, you have to pay a small fee but it is really worth the money.
The community is very active and if you have a problem/question it is ussually solved on the fly.
 
what do you want more? - Saturday, 14 June 2008
absolutely great component that can be costumized to fit your needs.
i'm using this component instead of the standard weblink component from joomla.
congratulations for the developers!
use their forum if you need some tips & tricks for customization!
 
One million dollars tool - Monday, 26 May 2008
Simply the best. Great product, great support!
 
Very flexible and powerful directory component - Wednesday, 21 May 2008
its the coolest the most costomizable and profitinal component.
Very modular piece of work. Simply incredible how easy it was to set up and get running.
Thank you!
 
Simply The Best!!! - Tuesday, 20 May 2008
If you need a sofisticated, but at the same time easy to set up and control open directory system, this component would be probably your best solution! There are addtional modules supported for the system, so it's customizable, there are labguage packs... is there anything else you can dream of? :) My advice is : just use it for your needs and say thanks a lot to its developers! Thank you!
 
Works just great... easy in use... :) Super - Tuesday, 20 May 2008
This component is amazing and very easy to setup and run out of the box! You can also heavily tweak it if you know even a little bit about PHP. It's fast, reliable and very good secured. I saw the code and I think that it will never possible to hack any site thru this component. If it was sold at $100, I would buy it with no hesitation!
 
Perfect application - Tuesday, 13 May 2008
This is a perfect application. It is clean programmed and has a nice layout. The code is very nice and clean. It's very easy to customize, and has got some really great modules! Try it, This package beats them all!
 
Wonderful Joomla directory extension - Monday, 05 May 2008
I spent some time researching the different components out there, and none looked as apealing, easy to install and use, yet be powerful and scalable, as SOBI2.
SOBI2 seemed to have all the features I was interested in, and many others. Good program and excellent support.
 
Easy To Install And Use SOBI2 - Wednesday, 30 April 2008
SOBI2 is the best directory manager for Joomla! that i have seen. With all the features and tools at first one would think this would be to complicated to use and manage, but that not the case. SOBI2 works and is very easy to use.
 
What more would you ask for a directory - Tuesday, 22 April 2008
SOBI2 is I can say the most adaptive, the fastest, the most usable and tweakable directory there is on the net Speed, adaptability, powerful, easy to understand and simple. Everything a webmaster would ever want to offer their clients, and everything a client would want on their site.
And to be honest, because of this directory extension I've started to use Joomla ... ;-)
 
Amazing - Monday, 14 April 2008
I've spent about 10 hours in the last few days trying to figure out the best solution for Directory/Review listings. This soars so high above every other option out there that they can't touch this component.
This is by far the best addition to Joomla I have seen.
 
Excellent component - Friday, 11 April 2008
I discovered SOBI2 only one week ago, but I can say that I am very pleased to work with it. You can modify it to develop your own custom theme, or if you are a beginner it has everything integrated to be able to use it in your way. Nice work and by deepest respect for the developers that made this (and made it free). Keep on going with this and I hope to see future developements.
 
Ads/Anzeige

Partner Sites: Joomla Web Design  |  redCOMPONENT  |  Joomla Downloads  |  CyberTyper.ch  |  Codingfish  |  Joomla! kurz und bündig  |  FLEXIcontent