Invision Community 4: SEO, prepare for v5 and dormant account notifications Matt November 11, 2024Nov 11
Posted September 9, 20159 yr 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?
September 9, 20159 yr If s7.addthis.com..... is a legitimate url you need to add http: or https: in front of those //
September 9, 20159 yr 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?
September 9, 20159 yr 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.
September 9, 20159 yr Author I read a bit more, I did add the Inline Javascript and then the external.
September 9, 20159 yr Have you activated the item you want to display from the control panel in Addthis?
September 9, 20159 yr 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
September 9, 20159 yr 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.