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.
Hi,
I'd like to know how to change the logo used for the "Share" button in the addthis block. Preferably WITHOUT hacking into the module as this will break upgrade path(s) (Similar to the options provided in version 7.x-2.x of this module...)
Thanks
Comment | File | Size | Author |
---|---|---|---|
#4 | ability-to-change-main-button-image-1515424.patch | 2.27 KB | kapil.ropalekar |
Comments
Comment #1
lee20 CreditAttribution: lee20 commentedSubscribing. This feature is very handy and if it exists in 4.x please point out how it can be done.
Comment #2
lee20 CreditAttribution: lee20 commentedI was able to override theme_addthis_element() in order to override the button image. But it would be ideal if this could be done without having to use a custom hook.
Comment #2.0
lee20 CreditAttribution: lee20 commentedChange
Comment #3
gisleDowngrading this to "minor", since it is a cosmetic issue (please see guide to Priority settings).
This will not be added to the project until somebody gets a patch through to RTBC.
Comment #4
kapil.ropalekar CreditAttribution: kapil.ropalekar at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedI have created a patch file for this issue. Can you kindly review the same.
Ability to add configurable button settings has been added as a fieldset under the Basic configuration page settings.
Reference path : admin/config/user-interface/addthis
Fieldset : ADDTHIS BUTTON SETTINGS
Comment #5
kapil.ropalekar CreditAttribution: kapil.ropalekar at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedAssigning issue to self and changing status to Needs review.
Comment #6
ashwinsh#4 works for me, thank you kapil.ropalekar
Comment #7
gisleThanks for the patch, kapil.ropalekar!
This has now been committed to the latest snapshot of the 7.x-4.x branch.
Comment #8
kapil.ropalekar CreditAttribution: kapil.ropalekar at Cybage Software Pvt Ltd. for Cybage Software Pvt Ltd. commentedThanks gisle for committing the patch to the latest snapshot of the 7.x-4.x branch.
Marking this as fixed.