Closed (fixed)
Project:
AddThis
Version:
7.x-4.x-dev
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
7 Dec 2011 at 13:45 UTC
Updated:
2 Jun 2013 at 18:33 UTC
Hi.
I am trying to show my toolbox inside the Addthis block but with no success.
In fields there is extra configuration settings such as icon size.
But in the block settings i think choosing only the display type is not the answer.
Any ideas?
Thank you
Comments
Comment #1
matglas86 commentedHi frixos, good question. It is possible to dislay what you want. I'll explain.
The block implementation uses te default settings of a display type. Its true that you can not configure the same extra settings as in display's through a interface. I have not yet hat the time to implement this. But it is possible to manipulate the output. You can do this in code through a alter hook in your theme or module. The method to alter is addthis_markup_options.
Example: HOOK_addthis_markup_options_alter($options)
The block adds a reference that says "i'm a block display". In the options array the attribute #block and its block name are added. When youre alter is triggered you an say "is this a block?" and act on that to manipulate the settings and therefore the way its rendere after that based on the settings.
Take a look and if you can't figure it out let me know.
Comment #2
matglas86 commentedThis issue is also disscussed in #1364848: Block basic toolbox displays Facebook and Twitter only and a fix was done on the code because a bug was in there. Please see that issue for more information.
Comment #4
jackhutton commentedwhen I add 'Addthis' as a block element to the page - yep, there are only two available services, twitter & facebook.
adding an addthis field is configurable in display tab. reviewing the comments .but this doesnt seem fixed. ( downloaded alpha and dev versions)