mattmatthew Posted July 13, 2015 Posted July 13, 2015 Hi all! I'm trying to embed some code from Society6 to display prints for sale on my Squarespace site. The code: <script type="text/javascript"><!-- s6_user = "mattmatthew"; s6_format = "300x250"; //--></script> <script type="text/javascript" src="http://society6.com/js/show_banner.js"> </script> I'm having some issues getting it to show. I've attempted to use both the code block and embed block features, but with no luck. Can anyone offer some advice to address this problem? Aloha,Matt
e2astudio Posted July 13, 2015 Posted July 13, 2015 Use the Code Block, that should work just fine. However, you'll need to be logged out to see it work ... most JavaScript is blocked while you are logged into the administration.
palimadra Posted July 13, 2015 Posted July 13, 2015 Hi Matt The embed code does work! The screenshot of the embed on my test site is below If the image is not visible check this http://i.imgur.com/8Lm0048.png Instructions How to go about it (it is long therefore brace up! :-) ) On the page where you want to embed the code. Click on an Insert Point to add the Code Block. Select embed In the pop-up titled "EDIT EMBDED", hover the mouse at the right end of the text box and you should see "</>". Click on it. This would open another pop-up titled "EDIT EMBED DATA". In the multi-line text box paste the Society6 code Click set. In the "EDIT EMBED" pop-up click the save button. Click the save button to save the changes made to the page. Since a script has been embedded log out of the squarespace admin and visit the page you embedded code in. "tadaah" the code should work. If for some reason the steps do not work let me know and I will try and walk you through the process. Cheers, Pali Madra A web designer and developer with more than 15 years of experience. Also a Squarespace and Shopify specialist.
mattmatthew Posted July 14, 2015 Author Posted July 14, 2015 Hi Pali, Thanks for your prompt reply. I tried the steps you suggested above, and as it stands the code is embedded in my page. However, after logging out and reloading the page, nothing comes up. I've even tried to dump my cache (assuming it was the browser not refreshing updates on past pages), but even that didn't work. Any other thoughts? Matt
e2astudio Posted July 14, 2015 Posted July 14, 2015 @mattmatthew you should be using a Code Block, it's surprisingly simple once you get used to the scripts being blocked while logged in ... here is a quick tutorial I recorded with your script. Works exactly as intended: http://quick.as/AYwsDP7P
KendrahSmith Posted August 22, 2016 Posted August 22, 2016 Hi Matt, I had the same issue and want to post here for anyone else who finds this page while searching. If you have AdBlock installed as an extension on your google chrome or firefox browser, it will block this code because it sees it as an ad on the page. I have added a note to mine saying this, and giving a link directly to my Society6 page like this: http://www.kendrahsmith.com/store
Recommended Posts
Archived
This topic is now archived and is closed to further replies.