With current Display Suite integration users can't customize social buttons label. I don't think many people would want to display the label "AddToAny buttons". Si I just made a patch to make this label to take the value from module's administration form (admin/config/system/addtoany). Specifically from field "Link text" under Buttons -> Universal button. However, default value will still be "AddToAny buttons". Patch comes in next comment.
Remark: Changing the label will also change the label under "Manage display" tab. This change will still allow to translate the label in multiple languages. Any change to label, would require a cache clear to take effect.
Comment | File | Size | Author |
---|---|---|---|
#1 | improve_display_suite-2418423-1.patch | 597 bytes | rcodina |
Comments
Comment #1
rcodina CreditAttribution: rcodina commentedI upload the patch ;)
Comment #2
rcodina CreditAttribution: rcodina commentedComment #3
rcodina CreditAttribution: rcodina commentedComment #4
rcodina CreditAttribution: rcodina commentedComment #5
rcodina CreditAttribution: rcodina commentedComment #6
micropat CreditAttribution: micropat commentedRegarding the patch, the
addtoany_link_text
value is for the anchor text of older versions of the universal button, so it wouldn't be very elegant to use that value.I think the best workaround if you're displaying the label is to use an AddToAny block field. Then you can customize the block's label.
Comment #7
VladimirAusIs this task still valid?