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.
For every site we develop and use ShareThis module first thing clients request is to disable on-hover action.
We go in and adjust the module everytime but if there is intrest we can provide a patch to add option to backend.
To fix in latest version for 7.x-2.5:
1. Open sharethis.module
2. Go to line 469
3. change 'publisher' => $data_options['publisherID'],
to 'publisher' => $data_options['publisherID'],onhover => 'false',
Upload and test. Let me know if anybody else has need for this and we will create a patch.
Thanks
pgrujic
Comments
Comment #1
GrahamShepherd CreditAttribution: GrahamShepherd commentedThanks. I get exactly the same reaction. Can this be made permanent or at least configurable?
Comment #2
GrahamShepherd CreditAttribution: GrahamShepherd commentedThe image then needs a title attribute.
Comment #3
colepacak CreditAttribution: colepacak commentedDisplay ShareThis widget on hover can now be disabled on Configuation > Web services.
Thank you!