Zachary Johanson Posted September 9, 2015 Share Posted September 9, 2015 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? Link to comment Share on other sites More sharing options...
Flitterkill Posted September 9, 2015 Share Posted September 9, 2015 If s7.addthis.com..... is a legitimate url you need to add http: or https: in front of those // Link to comment Share on other sites More sharing options...
TSP Posted September 9, 2015 Share Posted September 9, 2015 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? Link to comment Share on other sites More sharing options...
Zachary Johanson Posted September 9, 2015 Author Share Posted September 9, 2015 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. Link to comment Share on other sites More sharing options...
Zachary Johanson Posted September 9, 2015 Author Share Posted September 9, 2015 I read a bit more, I did add the Inline Javascript and then the external. Link to comment Share on other sites More sharing options...
Dll Posted September 9, 2015 Share Posted September 9, 2015 Have you activated the item you want to display from the control panel in Addthis? Link to comment Share on other sites More sharing options...
Zachary Johanson Posted September 9, 2015 Author Share Posted September 9, 2015 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 Link to comment Share on other sites More sharing options...
Flitterkill Posted September 9, 2015 Share Posted September 9, 2015 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... Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.