BriGood Posted June 7, 2023 Posted June 7, 2023 I am trying to embed a google doc and below that a google folder using iframe code. In the backend, it works. On the public side, only the code that appears first works. (So, when I add the embed code for the google doc, the google folder no longer shows up. If I flip it and put the folder first on the page, the google doc no longer shows.) I've tried using embed blocks and code blocks and both give me the same issue. The website is https and so are the embed codes so that's not the issue. There seems to be a problem with displaying two embed codes in the same page. Does anyone have a solution? Thank you!
creedon Posted June 7, 2023 Posted June 7, 2023 Please post the URL for a page on your site where we can see your issue. A link to the backend of the your site won’t work for us, i.e. a url that contains /config/. Please set up a site-wide password, if your site is not public and you've not already done so. Post the password here. Adding a site-wide password does not allow anyone to alter your site. It only allows those with the password to see your site. Please read the site-wide password and how to share a link documentation to understand how they work. We can then take a look at your issue. You may find How to post a forum question post useful. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
BriGood Posted June 7, 2023 Author Posted June 7, 2023 I had to create some test content because I cannot share the original content. Here's the link to the website. On the backend, I have a document embedded (which is visible on the public site) and a google folder embedded (which I can only see on the backend - screenshot attached). On the public site, nothing below the embedded document shows up - even text. I have used an embed block for both of the embedded items.
creedon Posted June 7, 2023 Posted June 7, 2023 Quote I had to create some test content because I cannot share the original content. Can you include example code for both blocks and put them in code blocks? I am interested in seeing how both codes interact and the code blocks would be a bit easier to diagnose. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
BriGood Posted June 7, 2023 Author Posted June 7, 2023 I think I did what you asked, but I'm not sure 😉 Check the bottom of the page and you'll see the code.
Solution creedon Posted June 8, 2023 Solution Posted June 8, 2023 Quote I think I did what you asked, but I'm not sure 😉 Good enough! The code for document embed has a syntax error. It contains a smart quote ( ” ) and HTML does not like smart quotes. Change it to a dumb quote ( " ). Smart quotes usually get introduced if you use a word processor. If you are going to do some amount of code editing, you may want to a code editor app or a something like note pad or word pad. Let us know how it goes. Find my contributions useful? Please like, upvote, mark my answer as the best ( solution ), and see my profile. Thanks for your support! I am a Squarespace ( and other technological things ) consultant open for new projects.
BriGood Posted June 8, 2023 Author Posted June 8, 2023 That worked! Thank you so much! I had no clue there were smart and dumb quotes. creedon 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment