Jump to content

Script breaks site edit functionality

Go to solution Solved by tuanphan,

Recommended Posts

Posted (edited)

Hello, 

Since the update of our site sections to fluid engine, our custom script on the title page breaks the site edit functionality in site editor. All I get is "Try Again" when clicking Edit Section.  When I remove the script from code block, the site works fine. The script was coded by contracted professional 2 years ago. I was hoping someone could look at the site, and let me know what in the script is causing the site to break. 

The site is https://liptovskydvor.sk

Many thanks,

Michael

Edited by michael_n
Add URL
  • Replies 4
  • Views 508
  • Created
  • Last Reply

Top Posters In This Topic

Posted

Can you share the script? What is it supposed to do? It may have some incorrect classes give the update.

Please like and upvote if my comments were helpful to you. Cheers!

Zygmunt Spray
Squarespace Website Designer
Contact me: 
https://squarefortytwo.com 
Hire me on Upwork!

📈 SEO Space (Referral link)
Ⓜ️ 
Will Myers' Plugins & Tutorials (Referral link)
 🔌 Ghost Squarespace Plugins (Referral link)
 SquareWebsites Plugins (Referral link)
 🔲SQSP Themes (Referral link) 
Spark Plugin (Referral link) 
 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) 

 Did I help? Buy me a coffee?

Posted (edited)

Hello,

Sure: https://codeshare.io/K8El6N

The script is a simple booking widget in js where customer selects number of adults and children with their age and sends the data to booking provider through their API. It is in Slovak language, but you can switch the site language and will see it in English.

It was custom coded for this purpose.

Thanks

Michael

 

Edited by michael_n
typo correction
  • 2 weeks later...

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.