0

I want to use addthis (www.addthis.com) in a drupal website. After making my account in addthis they say I should add the following

There is a module which support addthis but it is not good for production as they mentioned on their module page on drupal.org. So therefore I want to include the script directly in my theme.

I'm using AT themes and added in the .info file: scripts[] = http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5530cfdf4ee2d956

But this does not work. Seeing the page source in the front I can see: "sites/all/themes/xenofilia/http://s7.addthis.com/js/300/addthis_widget.js#pubid=ra-5530cfdf4ee2d956"

How to solve this?

2

It's just a first position in Google for query "Drupal addthis"

Module addthis

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.