Closed (works as designed)
Project:
AddThis
Version:
7.x-4.0-alpha1
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
27 Jul 2012 at 06:27 UTC
Updated:
1 Sep 2012 at 06:22 UTC
addthis.api.php is outdated and hooks described never get's invoked.
I tried to implement and debug them, once they didn't go to loop i searched references for hook names and only found them in api.addthis.php.
Comments
Comment #1
addthis commentedCould you specify which version of drupal used?
When we checked addthis module in drupal latest versions, it works fine.
Our latest version uses fields to add a AddThis button/toolbox/counters to your content.
Have a look at the documentation to configure AddThis latest version
http://drupal.org/node/1309922
Comment #2
exlin commentedIssue were not on adding toolbox to the page, it were on altering it.
Versions i tried were 7.x-4.0-alpha1 and dev -version from last week.
1. I added addthis block to panel page.
2. Readed your api documentation and implemented your hooks
3. They were never invoked
4. Tried to find a code invoking them, but couldn't find them.
Comment #3
matglas86 commentedMarkup option alter gets invoked here.
To use this use hook_addthis_markup_options_alter(&options);
Markup alter gets invoked here.
To use this use hook_addthis_markup_alter(&markup);
Configuration gets altered here.
This is no included in the api file yet as a example.