Jump to content

Calendar not showing. Site showing - "code removed" - when I went public.

Recommended Posts

The site is showing "code removed" where the calendar is.

The page is at the bottom of https://www.clarkville.school.nz/

I tested this out before we went live and I remade the code block using the code from google calendars.

The code block is:

<iframe src="https://calendar.google.com/calendar/embed?src=schoolapps%40clarkville.school.nz&ctz=Pacific%2FAuckland" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>

 

Any help would be appreciated.

Edit: The Code Removed is not showing on the published site, only on my editing page.

Edited by Clarkville
Put wrong code block in question
Link to comment
  • Replies 4
  • Views 1.2k
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

This is a bit weird. Usually when this kind of things happens there is usually some sign of a failure, somewhere.

I inspected the code for your site and there is no sign the code was ever there. It's gone and there are no loading errors.

When I put the code on my test site, it worked a treat!

ScreenShot2024-02-20at10_29_20PM.png.8169fb8ee8dd978c0079c0d63035e548.png

Are you sure the code is actually in the code block?

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.

Link to comment

Thanks for checking it out.

I've attached a screencap from how it appears on the site builder. I'm not sure why there is no sign the code was ever there.

It worked in testing before I published the site, but that was before I purchased a subscription. Could it be because I'm on a personal plan?

Calendar.PNG

Link to comment
25 minutes ago, Clarkville said:

I'm on a personal plan?

Ah ha! That is the reason! Personal plan doesn't support JavaScript in code blocks. Check the UPGRADE message at the top of the code block content.

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.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment


×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.