In my hacked version, I've added the option 'custom code' to addtoany.admin.inc, and changed a few lines in addtoany.module so that, if custom is checked and custom code is provided, it uses that (instead of the custom image url). It seems to work.

It's an expert option ofcourse, because the custom code should be html as provided by the addtoany site but without the javascript link.
The changes are minimal, I'll attach the altered code from addtoany.module.

I think (something like) this would be a nice feature. If there was a better way to do this, I didn't find it :-/

Comments

Darren Shelley’s picture

Status: Active » Needs review
StatusFileSize
new3.82 KB

I agree this would be a great addition please find attached a patch to accommodate this functionality.

I would be grateful if the community could review it.

Gerben Zaagsma’s picture

subscribing, this would be really important to add.

webankit’s picture

+1

micropat’s picture

Status: Needs review » Closed (fixed)

Shoot, I somehow missed this request before finding this duplicate: #1363056: Customizing button code. Sorry about that.

Anyhow, good news: this feature is now implemented in the dev version! Check it out, and feel free to create a new issue if you have any feedback on this feature. Thanks!