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.
File : socialmedia.widgets.inc
Function : socialmedia_base_platforms
'profile-button' => '<a href="[?profile_url=[socialmedia:sm-facebook_url]?]" title="Visit [?profile_username=[socialmedia:sm-facebook_username]?] on Facebook"[?link-target= target="{[socialmedia:sm-default_link_target_profile]}"?][?link-rel= rel="{[socialmedia:sm-default_link_rel_profile]}"?]><img src="[?icon-path=[socialmedia:sm-facebook_icon-path]?]" alt="Facebook icon" class="></a>',
I have fixed above as below
'profile-button' => '<a href="[?profile_url=[socialmedia:sm-facebook_url]?]" title="Visit [?profile_username=[socialmedia:sm-facebook_username]?] on Facebook"[?link-target= target="{[socialmedia:sm-default_link_target_profile]}"?][?link-rel= rel="{[socialmedia:sm-default_link_rel_profile]}"?]><img src="[?icon-path=[socialmedia:sm-facebook_icon-path]?]" alt="Facebook icon" class=""></a>',
The incorrect closing tag break the widgets sometimes.
Thanks
Comments
Comment #1
TomDude48 CreditAttribution: TomDude48 commentedHmmm, I am not seeing a class attribute at all in the version I am using. Please check the latest dev and verify if you are still seeing it.
Comment #2
TomDude48 CreditAttribution: TomDude48 commentedClosing, no response.