Jump to content

addthis button?

Featured Replies

Posted

Any idea why if I add this

"<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-55efae41057b3edd" async="async"></script>" to the globalTemplate part it doesn't display anywhere?

 

 

If s7.addthis.com..... is a legitimate url you need to add http: or https: in front of those //

If s7.addthis.com..... is a legitimate url you need to add http: or https: in front of those //

It's a protocol-relative URL and is perfectly valid without http and https.
 

You need to tell us more about the context here, @Zachary Johanson. What do you expect it to display? Have you added any other code than this in order to let it be displayed? I doubt this is the only codebit required. Where exactly in the globalTemplate have you added the include?

  • Author

It's a protocol-relative URL and is perfectly valid without http and https. 

You need to tell us more about the context here, @Zachary Johanson. What do you expect it to display? Have you added any other code than this in order to let it be displayed? I doubt this is the only codebit required. Where exactly in the globalTemplate have you added the include?

Based on their website:

http://support.addthis.com/customer/portal/articles/381220-default-code#external-js

 

That is the only code I need to use for external JS. I want the one that fits to the left side. I've noticed ISP has a lot of issues with any JS stuff I add, from anyone. I added the 'include' in two spots to test, one in the <head> portion and one in the <body> portion, neither worked.

  • Author

I read a bit more, I did add the Inline Javascript and then the external.

 

 

 

Have you activated the item you want to display from the control panel in Addthis?

  • Author

Have you activated the item you want to display from the control panel in Addthis?

Genius. I didn't know you had to 'activate' the account for that particular code.

Thank you :)

It's a protocol-relative URL and is perfectly valid without http and https. 

 

Would you believe after all these years I never actually came across this. Crazy...

Archived

This topic is now archived and is closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.