Closed (fixed)
Project:
AddToAny Share Buttons
Version:
6.x-3.4
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
15 Sep 2011 at 21:37 UTC
Updated:
8 Sep 2015 at 22:13 UTC
Jump to comment: Most recent
Comments
Comment #1
micropat commentedThanks! :)
Actually you can already customize the Twitter message by pasting the following code into the Additional Options box (at the bottom of the config page: admin/config/system/addtoany).
It's a little bit of code mucking, but no so bad. :)
Comment #2
bjlewis2 commentedExcellent! Thanks so much!
Comment #3
scotwith1tSorry to reopen, but this doesn't seem to work in v. 6.x-3.4. I've added the above code (with our Twitter ID of course) to that area and it doesn't do anything...

Comment #4
scotwith1there's the code i've got in the Additional options box:
Comment #5
erikphanson commentedSome per content type customization would really be awesome. Is this possible now in code?
Comment #6
micropat commented@scotself You had an error in your JavaScript syntax. This is what you want:
@erikphanson AddToAny JavaScript events would be your best workaround for that right now. See the "Modifying the share" section, then for example:
if (share_data.service = 'twitter') { /* Change share_data.title if also a specific content type */ }Comment #7
micropat commented