Lightroom-Help Posted April 28, 2023 Posted April 28, 2023 I can embed a code snippet from TidyCal, for a single booking type, on a page without problem and it shows fine: <script src="https://asset-tidycal.b-cdn.net//js/embed.js"></script> <div id="tidycal-embed" data-path="lightroom-help/15-minute-meeting"></div> But when I create another embed block, with similar content: <script src="https://asset-tidycal.b-cdn.net//js/embed.js"></script> <div id="tidycal-embed" data-path="lightroom-help/60-minute-meeting"></div> on the same or different section, of the same page, then Squarespace shows only the first embed. Another problem is that when I embed, instead of a code snippet, a link to the main TidyCal bookings page: https://tidycal.com/lightroom-help Squarespace, while editing, confirms that the pasted link is "successfully located" but then it doesn't show it at all. What's strange is that if I have a sole Tidycal embedded booking type on a page and press the logo (contained in the embedded content which redirects to the above link) then the main TidyCal bookings page shows embedded without problem. So, apparently Squarespace is able to display this content but apparently fails to do so when the link is embedded on the block. I have contacted support but they just gave me links to articles, claiming that they cannot deal with any problems with embedded code. I would understand that being the case if the embedded code did not work at all. But working in only one and not more of similar embed blocks, on the same page, is something that I cannot understand. Is it a bug perhaps? Is there any solution that someone can think of? https://lightroomhelp.squarespace.com/test Password: 102030
paul2009 Posted April 28, 2023 Posted April 28, 2023 (edited) 12 hours ago, Lightroom-Help said: I can embed a code snippet from TidyCal...on a page without problem and it shows fine...But when I create another embed block on the same or different section, of the same page, then Squarespace shows only the first embed. This is because this particular embed has only been designed to be used once on a web page. This should be the case on any web page - on any platform - because it relies on an id attribute, and an id must be unique within the web page, as its purpose is to identify the element. Having id="tidycal-embed" twice on one webpage would break the HTML specification. You may want to check with TidyCal to see if they have an alternative way of showing their control on a webpage, in case they have one that can be used more than once. Did this help? Please give feedback by clicking an icon below ⬇️ Edited April 29, 2023 by paul2009 Me: I'm Paul, a SQSP user for >18 yrs & Circle Leader since 2017. I value honesty, transparency, diversity and good design ♥. Work: Founder of SF.DIGITAL. We provide high quality original extensions to supercharge your Squarespace website. Content: Views and opinions are my own. Links in my posts may refer to my own SF.DIGITAL products or may be affiliate links. Forum advice is completely free. You can thank me by selecting a feedback emoji. Buying a coffee is generous but optional.
Lightroom-Help Posted April 29, 2023 Author Posted April 29, 2023 Thanks so much for your explanation! I tried it though in WIX (which I rather not use) and there I could embed twice without problem. As to the "embedding as a link", (which doesn't work with the embed block), would it work with some code block or elsewhere if the URL to the bookings page ( https://tidycal.com/lightroom-help ) was formatted differently? I'm currently on the Basic plan and I cannot test it. I would consider switching to another Squarespace plan, if this would definitely work.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment