The recommended method for installing SimpleClinic online booking on your SquareSpace website is to use the iframe version.
This article assumes you already obtained your unique booking URL from support. If you have not yet received a unique booking URL from support please email email@example.com.
Please ensure the "?" before "view=iframe" is included. This is highly important as the diary will not load without it.
To add online booking to a page or post, follow these instructions.
Step 1: Login to your SquareSpace admin panel at https://www.squarespace.com/. You will find the login on the top right of the main website.
Step 2: Select the website you wish to install online booking on from the website dashboard.
Step 3: From the pages menu on the left select (or create) the page you wish to add your online booking to.
Step 4: Click Edit from the control panel when you are hovering over your page content to open the edit mode in the main area of the browser. Then select the plus button on the top right of the black bar at the top of the page content.
Step 5: Scroll to to the bottom of the tool palette and select the Code option.
Step 6: From the resulting text entry into the following code fragment to load the online booking interface into the page.
<iframe src="https://staging.simpleclinic.net/index.php/public/diary/XX?view=iframe" width="100%" frameborder="0" height="800" scrolling="yes"></iframe>
Please note the whole URL in between the quotation marks in the src attribute should be replaced with your unique booking URL with ?view=iframe added to remote the default branding.
Once your output matches the above you can click APPLY at the bottom of the window.
Step 7: Once you have finished editing your page click Save from the top menu bar to save your changes.
Step 3: Navigate to where you wish to display your online booking and enter the following code snippet. The xx will be replaced with the code in your unique booking URL supplied by SimpleClinic.
Your online booking is now installed and available on the page that you have published.