Featured Content Gallery | WordPress Plugin | iePlexus

conflict with jQuery (gTranslate Plugin)

New releases, ideas for the future, and known issues

conflict with jQuery (gTranslate Plugin)

PostBy whatartist on Wed Jun 22, 2011 10:48 pm

I was working with a wordpress MU setup and could not have the featured content gallery and gTranslate work simultaneously. After some research I realized the fix was quite easy. First I altered the gallery.php by removing the startgallery function and placed that within the addEvent:

Code: Select all
       
window.addEvent('domready',function(){
var myGallery = new gallery(document.getElementById('myGallery'),{
timed:true
});
});


This allowed me to call the mootools without conflict. The gtranslate was already set to
Code: Select all
jQuery.noConflict();


All I had to do is switch gTranslate away from jQuery > Save changes > Switch back > Save Changes and it works.

Great plugin guys,

Aaron
whatartist
 
Posts: 1
Joined: Wed Jun 22, 2011 10:42 pm

Re: conflict with jQuery (gTranslate Plugin)

Thank you for using the Featured Content Gallery Forum
 

Return to Development, Improvement, and Conflicts

Who is online

Users browsing this forum: No registered users and 1 guest

cron