Recently whenever I click the facebook share button the share window pops up and populates fine, however the main window resolves to http://www.addthis.com/bookmark.php?v=300 -in the past it's always stayed on the same page.
It is a recent occurrence, and it's happening on a number of sites that I maintain. The behavior is uniform on all sites and all browsers. I'm not sure if this only started happening with the latest Drupal update or not.
Anyone else experiencing this issue?
| Comment | File | Size | Author |
|---|---|---|---|
| #22 | facebook-share-link-2459503-22.patch | 764 bytes | VenDG |
Comments
Comment #1
lukusI can confirm the same. I've also noticed that addthis are now inserting inline CSS into their toolbox markup. I've opened another ticket here: https://www.drupal.org/node/2459929
Comment #2
lukusChanging category to bug report.
Comment #3
lukusChanging category to bug report.
Comment #4
L.A. commentedI had the same issue last week (also tried the dev version, same thing), but it works again (without a change).
I guess this was a bug concerning AddThis itself, not the Drupal Modul.
Comment #5
matglas86 commentedComment #6
djeba commentedI have the same issue
Comment #7
lias commentedI'm experiencing the same popup of the addthis bookmark when I click on the Facebook icon. This doesn't occur when I click on the Twitter icon.
Comment #8
maxferrario commented@matglas86: what do you exactly mean with "works as designed"?
I only see this behaviour with Facebook share buttons, and it's really a BAD behaviour...
No one is going to fix this?
Comment #9
matglas86 commentedSomebody mentioned that this is a behaviour produced by addthis and not the module.
Works as designed means the module does what is does. If the addthis service has a bug we can not fix that. But if someonen figures out that its really a bug in this addthis module be welcome to change the status.
Comment #10
SilviaT commentedSame problem here. Works fine with other services (Twitter, Pinterest, G+, Tumblr..) but doens't with Facebook service.
Comment #11
p.act commentedI have the same issue with Facebook redirect to http://www.addthis.com/bookmark.php?v=300. For the temp. fix, I put the "#" sign under /admin/config/user-interface/addthis/advanced > Service URL's, AddThis bookmark URL > #, instead of http://www.addthis.com/bookmark.php?v=300.
Comment #12
matglas86 commentedThere was a problem with the a link. It did include the link to bookmarks. Why? I really don't know.
Comment #13
abasso commented@matglas86: that' great, thanks, however I cannot see this commit... is it not in the dev branch yet? Thanks!
Comment #15
matglas86 commented:) Sorry. I pushed it to my github repo but forgot to push it to the drupal repo too.
The commit should show up here too in a bit.
Comment #16
abasso commentedIt works! perfect, thanks!
Comment #17
beezer75 commentedThanks all, comment 11 fixes the issue. Replace url with #
Comment #18
leendertdb commentedHi everyone,
I have also had this same problem. However the solution in #11 and the patch in #14 didn't work for me because my theme is using the base tag. See https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base. While the use of this tag is discouraged, I guess there will still be some Drupal websites using this.
The base tag makes all links relative to what is specified as the base, useful if your Drupal site is placed in a subdirectory. In my case the base tag in the html.tpl.php template file of my theme is made like this:
<base href="<?php print base_path(); ?>" />Drupal host: "localhost"
Full path to drupal: "http://localhost/drupal/"
Base tag: "http://localhost/drupal"
So let's say I have a node with the following URL:
http://localhost/drupal/blog/test-blog-node.
In this case the
<a href="#">using the base tag actually becomes<a href="http://localhost/drupal/#">, which is different from the current page URL so the window still gets redirected.Could you maybe instead of leaving out the href tag as you did in commit #11 (in which case Drupal will assign a hashtag by default) replace it with the following?
File: addthis/addthis_displays/addthis_displays.addthis.inc
Line: 46
So i'm talking about adding this line:
'href' => request_uri() . '#',This way it should work in all cases. Any thoughts?
Comment #19
leendertdb commentedComment #20
Anonymous (not verified) commentedFor me, fix #18 get's the same output as #11.
Cheers
Comment #21
chuchu1 commentedI have the same issue.
http://ueher.com
Comment #22
VenDG commentedCreated a patch file for #18
Comment #23
gislePatch in number #22 no longer applies to head of 7.x-4.x because the
href-attribute is gone.Can one of the people that experience this bug check out the latest dev snapshot of 7.x-4.x and state whether this bug is still present in that version or not.
Comment #24
leendertdb commented@23,
I can confirm that my bug report explained in #18 no longer applies to the current head of 7.x-4.x. It works correctly for us now without needing a patch.
Since the codebase of this module didn't change since my observations of #18 I'm assuming that AddThis made some changes on their side to fix this bug.
I think we can close this issue.
Comment #25
gisleGreat!
I'm trying to close out all open bugs in the 7.x-4.x branch before creating a new tagged release (alpha7).
Comment #26
ben833 commentedThe dev branch fixes the issue for me. Please create the alpha7 tag, so we don't have to use a dev branch on production.