Villageyoga Posted May 22, 2023 Share Posted May 22, 2023 I'm trying to upload a schedule widget from Mind Body for my Yoga Studio's website. The error message is saying theres an error in line 1 for each of the following codes: <script src="https://widgets.mindbodyonline.com/javascripts/healcode.js" type="text/javascript"></script> <healcode-widget data-type="registrations" data-widget-partner="object" data-widget-id="b51381243b01" data-widget-version="0" ></healcode-widget> <script src="https://widgets.mindbodyonline.com/javascripts/healcode.js" type="text/javascript"></script> <healcode-widget data-type="schedules" data-widget-partner="object" data-widget-id="b51956783b01" data-widget-version="1" ></healcode-widget> How do I edit the code so that the code can be uploaded and widget can be implemented? Thanks! Link to comment
Beyondspace Posted May 22, 2023 Share Posted May 22, 2023 You need to add this code to a Code block on your page, the screenshot showing that you are injecting it into the custpm css section BeyondSpace - Squarespace Website Developer 🖼️ Lightbox Studio (Enable Pinch/Zoom on lightbox) 🗓️ Delivery Date Picker (Squarespace Date picker form field) 💫 Gallery block 7.1 workaround 🥳 Sparkplugin Customisations Browsers (Browse +100 Spark plugin customisations) 🥳 Elfsight Template Browsers (Browse +1000 Elfsight widget Templates) If you find my answer useful, let's leave a like or upvote so others with the same issue can find their solution. Thank you! Link to comment
paul2009 Posted May 23, 2023 Share Posted May 23, 2023 19 hours ago, Villageyoga said: I'm trying to upload a schedule widget from Mind Body for my Yoga Studio's website. The error message is saying theres an error in line 1 The code you are trying to add is HTML, so it cannot be added to the Custom CSS panel. You'll want to add it to a Code Block instead. About me: I've been a SQSP User for 18 yrs. I was invited to join the Circle when it launched in 2016. I have been a Circle Leader since 2017. I don't work for Squarespace. I value honesty, transparency, diversity and good design ♥. Work: I founded and run SF.DIGITAL, building Squarespace Extensions to supercharge your commerce website. Content: Views and opinions are my own. Links in my posts may refer to SF.DIGITAL products or may be affiliate links. Forum advice is free. You can thank me by clicking one of the feedback emojis below. Coffee is optional. Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment