twitter bird
twitter bird
Welcome, Guest
Please Login or Register.    Lost Password?

jTweet & fatal JS error?
(1 viewing) (1) Guest
Go to bottomPage: 1
TOPIC: jTweet & fatal JS error?
#28877
jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 0
Hi

Have run into a problem on my Community Builder Member list page that might(?) be related to jTweet. Here's the page:
artdollsonly.com/index.php?option=com_co...rslist&Itemid=30

There should be a link to "Search Users" with the text at the top in about the middle of the page, but it's not working. (This becomes "List all" in search mode.) I asked over at the CB forum, and this was the response:

--
It's at the top of your page and displaying properly, but the JS isn't working because you've a Fatal JS error on your site.
Code:
Uncaught TypeError: Object #<an Object> has no method 'tweet'

No idea what it's coming from, sorry.
--

I'm thinking this perhaps has something to do with jTweet?

I'm not familiar with JS and am pretty elementary with changing any code, but am willing to try!

Many thanks,
Melody
AllegroMelody
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28898
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 134
Hi Melody,

The issue is caused by the Community Builder loading the jQuery Library:

artdollsonly.com/components/com_comprofi.../jquery-1.4.2.min.js

jQuery has an issue if there is more than one version of the library on the page and thats the reason why we created the JB LIbrary plugin. You can use that to strip out the reference if you have the latest version of the plugin. Just by setting the use unique jQuery to yes should fix this issue.

Thanks Anthony
Anthony Olsen
Moderator
Posts: 8932
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Creative Unique Minimal Joomla Templates
The administrator has disabled public write access.
 
#28915
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 0
Thanks, Anthony.

Please forgive my ignorance - I can't figure this out (I have tried!)

I went to the JB Library plugin, which I installed last month with the Avanti template when I started building the site. Looks like v1.1.1 is what I installed, and there is 1.1.2 now available. I tried installing that (should it just replace the old one when I install - I don't know that it did?) but don't see a difference in the plugin parameters, and don't see anything that gives me a "unique JQuery" option. Am I looking in the correct place? Should I be somewhere else?

Many thanks,
Melody
AllegroMelody
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28922
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 134
Hi Melody,

If you dont see that option then it sounds like it didnt install. Just to be sure you can try uninstalling the JB Library plugin and then downloading the latest from the download area and then reinstalling again. That will definitely do it.

Thanks Anthony
Anthony Olsen
Moderator
Posts: 8932
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Creative Unique Minimal Joomla Templates
The administrator has disabled public write access.
 
#28926
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 0
Thank you.

Okay, figured out how to uninstall the plugin, and installed the newest version, just downloaded.

Changed "Enable Unique jQuery" to Yes.

Link still doesn't work. Also tried "Strip other scripts" - no difference.

I would be okay with deleting the "Search Users" link if I could figure out how to do that!
AllegroMelody
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28973
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 60
Hey Melody,

The link problem might not be related to the js error. There is only one jQuery loading on the site now and no errors as far as I can see. Are you stripping any other scripts that CB needs? It looks like the links depends on certain js scripts to work but nothing that is loading on the page will do it.
Let me know.

Cheers,
Jason.
Jason D
Moderator
Posts: 2514
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28984
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 0
Hi Jason

Once again, please forgive my ignorance, but I don't know how to "strip scripts" (other than clicking on "yes" in the jQuery Library Settings).

thanks,
Melody
AllegroMelody
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
Last Edit: 2010/07/22 21:43 By AllegroMelody.
The administrator has disabled public write access.
 
#28987
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 60
Hey Melody,

Sorry, should have been more clear. Are there any custom scripts specified in the box below it?
You can turn that setting to strip custom scripts off. Unique jQuery should be sufficient for you.
Try that and let me know. I'm not confident that it will fix it but atleast we'll know what the playground looks like.

Cheers,
Jason.
Jason D
Moderator
Posts: 2514
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28988
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 0
"Strip other scripts" is set to No and there have not been any script names in the field. (I've tried it both "yes" and "no" with no difference).

thanks!
AllegroMelody
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28990
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 60
Hey Melody,

The problem is actually just in the css. The button is sitting behind the Title there.

You can fix it by adding a css rule to your file
/templates/zen_avanti/css/theme.css

div.cbUserListTitle {
width:47%;
}

That should get it working again.

Cheers,
Jason.
Jason D
Moderator
Posts: 2514
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#28991
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 0
Ahhhh - it works now!

I have to learn more about CSS. That's next on my list.

Many, many thanks!!!!

Melody
AllegroMelody
Fresh Boarder
Posts: 18
graphgraph
User Offline Click here to see the profile of this user
The administrator has disabled public write access.
 
#29011
Re: jTweet & fatal JS error? 1 Month, 2 Weeks ago Karma: 134
Thanks Melody - glad we finally got to the bottom of it.

Give us a shout if you need any more help.

Anthony
Anthony Olsen
Moderator
Posts: 8932
graph
User Online Now Click here to see the profile of this user
Joomla Bamboo
Creative Unique Minimal Joomla Templates
The administrator has disabled public write access.
 
Go to topPage: 1
twitter Bird
Partners:
NInja Forge NInja Forge NInja Forge

joomlabamboo.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters
the trademark holder in the United States and other countries.