Support Forum

  • Page:
  • 1

Tweets not loading in Internet Explorer 9

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

I'm using JTweet version 2.0.4 in Joomla 1.5.26. It's set to use the user account. The tweets display just fine in Opera, Chrome and FireFox, but they don't display in IE9. Only the "More..." text is displayed at the bottom.

The website is: www.arthritisresearch.ca

The JTweet module is in the bottom right corner of the home page.

Any insight very much appreciated.

Thanks!

--Lotus
  • lotusland's Avatar
  • lotusland
  • JB Pro
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
Hi Lotus,

I see some javascript errors on that page relating to script.js line 361

It looks like there is an extra */ in there which other browsers are probably ignoring.

It you take that out does it fix the problem?

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.
Thank you so much for the feedback, Rob.

I had a look at script.js and dealt with the commented section being flagged, but still no tweets in IE9.

As you've given me a direction to explore, I'll see if there's any other js running that might be interfering.

When (if) I get it sorted out, I'll report back the solution.

Thanks again,

--Lotus
  • lotusland's Avatar
  • lotusland
  • JB Pro
  • 3 posts
  • Karma: 0
The administrator has disabled public write access.
I really don't know much about javascript, but I managed to run the javascript debugger in IE9 and now the only error being raised is within the JTweets javascript.

Error: Expected identifier, string or number

// General Options
avatar_size: 48,
count: 5,
fetch: 25,
page: 1,
join_text: 'auto',
loading_text: "Loading tweets...",
refresh_interval: 3600,
template: "{text}",

}).bind("loaded",function(){$(this).find("a").attr("target","_blank");


The line being flagged is:

}).bind("loaded",function(){$(this).find("a").attr("target","_blank");

But I'm wondering if the problem might be the trailing comma at the end of the line above:

template: "{text}",

I located the file where this list of General Options is compiled:
mod_jTweet/tmpl/default.php

I removed the comma at the end of line 91:

template: "<?php echo $template; ?>",

changed to:

template: "<?php echo $template; ?>"

et voila, it's now working in IE9.

I guess the other browsers are more forgiving of trailing commas....

Problem solved. Thank you so much again for the direction and for also providing such a great module!

--Lotus
  • lotusland's Avatar
  • lotusland
  • JB Pro
  • 3 posts
  • Karma: 0
Last Edit: 11 years 6 months ago by lotusland.
The administrator has disabled public write access.
That's great!

Anthony is putting out a fix as we speak!

Regards,

Rob
  • Robert Went's Avatar
  • Robert Went
  • Moderator
  • 2210 posts
  • 196 Thanks
  • Karma: 90
The administrator has disabled public write access.

zentoolsIf you use Zentools please post a review at the Joomla! Extensions Directory.

Happy Campers