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

addthis’s picture

Could 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

exlin’s picture

Issue 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.

matglas86’s picture

Status: Active » Closed (works as designed)

Markup 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.