Shape 5

General Category => General Talk/Questions/Comments => : MAKEDIFF November 25, 2013, 02:59:53 AM



: A solution for the jquery's conflicts?
: MAKEDIFF November 25, 2013, 02:59:53 AM
Hi,

I'm becoming crazy with all the possible jquery conflicts between the template and all the not really well developped extensions that can be found on the web. I 'm not pretending you work bad, and will never. Contrary I work with you for a year now and am really happy. I have one more time my submenus that don't work with a certain extension (once again  :'( )
First, is there a way to make the javascript call for the menu before the call of the extensions? So that it would still work in despite of the conflict? I'll have to spend hours checking for the origin of this conflict...

Secondly, I may have a suggestion for all of you.  :o

What if the template could use a dedicated version of jquery for the good use of your template. :P

Let me explain you: JomSocial does it and it works good enough! ;-)
It would be great if the future templates you realize would incorpore it's own jquery version dedicated to the shape5 functionnalities. For each call. So that, whatever is manipulated aside, your template will work properly.

End of damn conflicts with bad extensions! ::) Your work is clean and functionnal. Let me know if you consider this option^^

Btw, thanks for all


: Re: A solution for the jquery's conflicts?
: mikek November 25, 2013, 07:12:56 AM
Hello,

Jquery is only supposed to be used in Joomla 3.0 and higher, and none of our templates use jquery before this version. In Joomla 3.0 jquery was introduced to the CMS itself and all templates, extensions, etc. are to call that single jquery instance so that they all share the library. This is how our products are setup, as per the Joomla guidelines. If you are using a product that doesn't follow these guidelines and doesn't share the same jquery files, then that is a problem with that extension which its developer would need to fix.