Shape 5

Wordpress Club Themes => Metro Shows - Club => : cths October 07, 2013, 06:35:04 PM



: Plugin conflict wp-filebase
: cths October 07, 2013, 06:35:04 PM
Hi,
I was wondering if you could have a look and try to identify the conflict with this plugin.

When the plugin is used on a page the main menu stops working on that page.


http://shape5test2.martinwaybridge.com/test (http://shape5test2.martinwaybridge.com/test)

thnx


: Re: Plugin conflict wp-filebase
: Tristan Rineer October 08, 2013, 05:42:23 AM
The plugin you have added forces addition of a second copy of jQuery which is causing a conflict with basically all other javascript.


: Re: Plugin conflict wp-filebase
: cths October 08, 2013, 09:15:53 PM
Thanks. I have also found a few other plugins that cause the same jquery conflict with the main menu. (Nextgen Gallery, Document Manager)

I have noticed a few similar issues in the Joomla forums, but can't access them to find out more.

Can you give me directions on how to put jquery into noconflict mode.

There is a jquery-noconflict.js file in the S5 menu folder, but not sure if this is actually doing anything.


: Re: Plugin conflict wp-filebase
: Tristan Rineer October 09, 2013, 07:48:29 AM
It's not an issue of putting jQuery into noconflict mode; noconflict mode is installed.  The problem is that those plugins ignore the fact that jQuery is already installed and they add a second copy.  The second copy tries to override the first, and things stop working. 

You can try the solution someone else found here:
http://www.shape5.com/component/option,com_smf/Itemid,75/topic,31665.msg127436/#msg127436

Let me know if it works, and I'll see if there's a way to implement something like it into the framework.