This article explains how to embed a Google or Microsoft Calendar to your Cascade Site.
Table of Contents
\uD83D\uDCD8 Instructions
Adding Google Calendar
Get Your Calendar Embed Code
Open Google Calendar and navigate to the calendar you want to embed.
Click Settings and then click Settings for my Calendars on the left side.
Select your calendar from the list.
Scroll down to the Integrate calendar section and copy the iframe code under the Embed code label.
Embed the Code in Cascade
Navigate to the Cascade page where you want to add the calendar.
In the Source Code editor, place the Embed Code where you want the calendar to appear. It will look something like this:
<iframe src="https://calendar.google.com/calendar/embed?src=your_calendar_id" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
Save and publish the page. Your Google Calendar should now be visible on your page.
Adding Microsoft Outlook Calendar:
Get Your Calendar Embed Code
Log into your Outlook on the web.
Go to your Calendar, select the calendar you want to embed and click Settings and View all Outlook settings.
Click Shared Calendars.
In the section Publish a Calendar, choose the calendar and set the permissions you desire and click Publish.
Click Publish and copy the HTML code provided.
Prepare the iframe Code
Take your published calendar URL and place it within an
iframe
HTML tag. Here's an example:<iframe src="your_published_calendar_url" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
Replace your published calendar URL with the link you received in step 5 above.
Embed the Code in Cascade
Navigate to the Cascade page where you want to add the calendar.
In the Source Code editor, place the embed code where you want the calendar to appear. The code will look something like this:
<iframe src="https://outlook.live.com/owa/calendar/your_calendar_id" style="border: 0" width="800" height="600" frameborder="0" scrolling="no"></iframe>
Save and publish the page. Your Microsoft Outlook Calendar should now be visible on your page.
Replace your_calendar_id
with your actual calendar ID in the src
attribute of the iframe
.
Remember that the styling of the iframe (including the width and height) can be adjusted to suit your page's design. It's also essential to note that certain calendar settings may impact who can view your calendar, so always check those permissions.