buluma / joomla-gtranslate

Automatically exported from code.google.com/p/joomla-gtranslate
0 stars 0 forks source link

Js error conflict with Jomsocial #42

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
1. Load up the "community" jomsocial link
2. Have gtranslate module on the same page loaded (i load gtranslate on all 
my pages)
3. highlight a user in jomsocial or better yet, try entering a "status 
update"

When you highlight a user, you're suppose to see user details, instead we 
see html tags and code. When you enter text in "status update" box you're 
suppose to have a "save" option.

gTranslate 1.5.x.19
Joomla  1.5.15 Stable
Jomsocial 1.6.288
Ubuntu (i forget)

basically put there is a Js conflict, if I disable the gtranslate module 
everything in Jomsocial works like a charm. If I enable to gtranslate 
module I get the below error codes. I love your module and would love to 
have both Jomsocial and gtranslate co-exist. Currently I have gtranslate 
loaded on every page except for the Jomsocial page... 

Message: Object doesn't support this property or method
Line: 585
Char: 4
Code: 0
URI: http://DOMAIN/home/components/com_community/assets/script-1.2.js

Message: 'jQuery.fn.qtip.styles' is null or not an object
Line: 858
Char: 4
Code: 0
URI: http://DOMAIN/home/components/com_community/assets/script-1.2.js

Original issue reported on code.google.com by mus...@gmail.com on 16 Apr 2010 at 2:27

GoogleCodeExporter commented 8 years ago
Ohh btw - If i try turning off "load jQuery library" then gtranslate no longer 
seems to 
translate when clicking on the flags - I have it set to show just flags and "on 
fly 
(jQuery)". I know On Fly option needs jQuery but thats the option my users are 
all used 
to, and rather keep this option then to go to the default google one.

Original comment by mus...@gmail.com on 16 Apr 2010 at 2:33

GoogleCodeExporter commented 8 years ago
Try to unload jQuery library from jomsocial, you can make the jomsocial jquery
library file blank if there is no such option.

Original comment by edo...@gmail.com on 16 Apr 2010 at 2:38

GoogleCodeExporter commented 8 years ago
Would you know how I would be able to do that in order to get gtranslate and 
Jomsocial 
co-exist?

Original comment by mus...@gmail.com on 16 Apr 2010 at 2:46

GoogleCodeExporter commented 8 years ago
I already answered to your question.

Jomsocial loads it's own jQuery library. You need to unload it. You can do that 
by
making the loaded jQuery library file blank in Jomsocial directory.

Original comment by edo...@gmail.com on 16 Apr 2010 at 2:51

GoogleCodeExporter commented 8 years ago
I did as you said. I went into the file and cleared everything out. 

- I put translate back onto the same page with Jomsocial, and the tool tip + 
status 
error's came back.

I double checked to see if the jQuery library file was blank and it is.

What else can I try doing?

Original comment by mus...@gmail.com on 16 Apr 2010 at 3:42

GoogleCodeExporter commented 8 years ago
What is your website address? Can I see it?

Original comment by edo...@gmail.com on 16 Apr 2010 at 3:44

GoogleCodeExporter commented 8 years ago
It's an intranet blocked off externally :( btw your module is so awesome..!

Original comment by mus...@gmail.com on 16 Apr 2010 at 3:46

GoogleCodeExporter commented 8 years ago
Thanks, you can also try to contact Jomsocial about this issue.

Original comment by edo...@gmail.com on 16 Apr 2010 at 3:49

GoogleCodeExporter commented 8 years ago
Yeah I've been reading their forums all day. looks like their solution is to 
'diable 
the 3rd party plugin module' which in this case is gtranslate. So thats not 
going to 
fly.

Thanks again edo :)

Original comment by mus...@gmail.com on 16 Apr 2010 at 4:01

GoogleCodeExporter commented 8 years ago
I know that it works with GTranslate, just don't remember exactly how to do 
that. The
issue is that when you load 2 jQuery libraries they conflict. So you need to 
disable
one of them.

Original comment by edo...@gmail.com on 16 Apr 2010 at 4:06