Project:Share Buttons (AddToAny) by Lockerz
Version:7.x-3.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:closed (fixed)
Issue tags:hack

Issue Summary

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 :-/

AttachmentSize
addtoany.pike_.hack_.txt1.03 KB

Comments

#1

Status:active» needs review

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.

AttachmentSize
allow_custom_code-1147278-1.patch 3.82 KB

#2

subscribing, this would be really important to add.

#3

+1

#4

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!

nobody click here