I'm not getting a "steady behavior" from AddThis in IE7.

1.) The AddThis dropdown box does not appear at all on any pages
2a.) The AddThis dropdown box appears but has no styling (see screenshot)
2b.) While on some pages the box is unstyled, it works perfectly on other pages.

Thanks.

Comments

Courtney.B’s picture

Sorry, please disregard the first problem.

It's only 2a and 2b.

Thanks.

vesapalmu’s picture

Assigned: Unassigned » vesapalmu
Status: Active » Postponed (maintainer needs more info)

Please check your css files and make sure that there are no conflicts. Also try to disable CSS aggregation and empty all caches. See if one of those helps first.

Courtney.B’s picture

Clearing the cache didn't solve the problem and I checked the style and there wasn't a problem there.

I already had the CSS aggregation disabled but I misread your suggestion and instead enabled it. After enabling the aggregation, the drop-down box worked but when I disabled it again, ('cause I'm still in quasi-theme development) it didn't work again. Is there a reason for this?

Thanks for your help!

vesapalmu’s picture

Does it work with other browsers? I'm really bad at helping in any IE-problems since I haven't been using IE for 5 years and don't even have it on any machine... Theming and CSS is really not my cup of tee.

Anyone else out there having soled same kind of problems?

Courtney.B’s picture

Here are the browsers I was able to test and the results. I'll be able to test more later when the site is not locally run, if needed.

Worked Fine in...
Firefox (3.0.1[windows] and 1.5.09[linux])
Safari (3.0.3[windows])

Doesn't Work in...
IE7 --> Only on homepage, works every else in site

The widget pulls in an external CSS file --> http://s7.addthis.com/static/r07/widget00.css -- maybe within lies the problem. I'll keep looking into it.

dwyszyns’s picture

I had the same problem, only it was worse. It was screwing up the whole page CSS in my forum nodes, where no styles were applied to the page. It turns out there's an IE bug where it can only load so many CSS files. Here's the link to the explanation (from an Ubercart support page, though I dont use it).

http://www.ubercart.org/forum/support/7461/enabling_product_and_order_mo...

The fix was to turn CSS aggregation ON, which worked like a charm for me.

Good luck.

-Dan

Apollo610’s picture

Just a quick FYI - there's a module that allows you to load unlimited CSS for IE, which should help for themers running into this problem but don't want aggregation on.

http://drupal.org/project/unlimited_css

Courtney.B’s picture

I've figured out that my problem stems from some kind of conflict between quicktabs and AddThis. I'm thinking it's a problem on our end with the styling and nothing to do with either module.

Mr P’s picture

Same prob in ie8. CSS aggregation ON worked. silly ie.

noomz’s picture

Status: Postponed (maintainer needs more info) » Needs review
StatusFileSize
new606 bytes

I used this code to fix style with IE, tested on IE6-8. addthis.module.patch is attached

<?php
  // Fix IE's bug.
  if (strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE') !== FALSE) {
    drupal_add_link(array(
      'rel' => 'stylesheet',
      'type' => 'text/css',
      'href' => "http://s7.addthis.com/static/r07/widget02.css",
    ));
  }
?>
vesapalmu’s picture

This has now been committed to latest dev release of D6 version. Please test this and let me know if it fixes the issue.

drumm’s picture

Status: Needs review » Needs work

This will get cached in Drupal's page cache as whether the initial user was on IE or not. The cache will return that version regardless of each subsequent request's browser.

This CSS file should always be added, within a conditional comment, http://www.quirksmode.org/css/condcom.html.

timwood’s picture

Subscribing.

vesapalmu’s picture

Could we get a new patch for this against 2.x branch?

gisle’s picture

Issue summary: View changes
Status: Needs work » Closed (outdated)

No sane person uses IE7 and D6 is outdated.

Feel free to reopen if the you still need support and you use a version of this project for Drupal 7.