Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Eventhough it shows up in the "Edit socialmedia_share-default set" page (admin/structure/widgets/sets/edit/socialmedia_share-default), it won't show up on the pages of my website nor in the "Social media share widget" page (admin/config/media/socialmedia/widgets/share).
It's not a broken image issue, since there's no Facebook-link at all on the page (there's no single trace of anything related to a Facebook share button). So I guess the issue resides a little deeper. I did clear the cache (Drupal & browser) to no avail.
Any advice?
Comments
Comment #1
knalstaaf CreditAttribution: knalstaaf commentedFor some reason an update of the Chaos Tools module solved the problem.
Comment #2
knalstaaf CreditAttribution: knalstaaf commentedMust say that the odd appearance on the "Social media share widget" page persists, but at least the icon appears for the visitors now. Strange title-attribute though: Visit [socialmedia:sm-facebook_username] on Facebook (doesn't sound too share-ish).
Comment #3
knalstaaf CreditAttribution: knalstaaf commentedI modified line 131 and 132 of socialmedia.widgets.inc by replacing
$title
with$stitle
.These look like this now:
This solved the issue with the title attibute on the Facebook Share icon.
The issue with the missing FB icon on the "Social media share widget" page seems to be solved now as well (probably related to the code modification above).
I guess this should be committed, no?
Comment #4
knalstaaf CreditAttribution: knalstaaf commentedComment #5
invisibleink CreditAttribution: invisibleink commentedThanks so much for tracking this down. I rolled a patch in case that would be helpful to anyone....
Comment #6
scottm316 CreditAttribution: scottm316 commentedThe "Visit ____ on Facebook" when using the sharing button was bothering me too. I had fixed this for myself but saw this old issue and noticed the attached patch in #5 is broken, 404. Could be because of the hashtag in the patch name? Tiny tiny fix. In this patch.
Comment #7
cgYQGJyt CreditAttribution: cgYQGJyt commentedI confirm that this patch (in post #6) fixed the facebook share widget title on my site. Thank you very much.
Comment #7.0
cgYQGJyt CreditAttribution: cgYQGJyt commentedcleared cache