By continuing to use this site, you agree to the storing of first- and third-party cookies on your device to enhance site navigation; analyze site, product, and service usage; and assist in our marketing and promotional efforts. Cookie Policy

 
Skip to Content

Embed

Add calendar(s) to a pageLink to this section

Levels 9 and 10 administrators can copy the embed code for calendar(s). Then insert the calendar embed code on as many pages as you like, inside or outside Omni CMS.

To change the appearance of the public events page, click to expand the Calendar Embed Settings.

  1. Go to Calendar > Embed Code.
  2. Select the checkboxes to include events from specified calendars.
    • By default, events from all current and future calendars will be included.
  3. Click Copy Snippet.

embed code

Paste the snippet in the source code of pages inside or outside Omni CMS where you want the calendar(s) to appear. You can also embed the calendar(s) in assets, snippets, or components.

To add the calendar to a page using an editable region and dependency manager, paste the snippet into a source code asset.

On Omni CMS pages

If you have created a source code asset with the embed code,

  1. Open the page where you want to place the calendar(s).
  2. Click Edit.
  3. Click the editable region button where you want to place the asset.
  4. In the WYSIWYG editor, place the cursor where you would like to insert the calendar embed code.
  5. Click Insert Asset and select the asset containing the calendar embed code.
  6. Save and Publish.

Alternatively, after copying the embed code,

  1. Open the page where you want to place the calendar(s).
  2. Click Source.
  3. Go to the location in the body code where you want the calendar(s) to appear. 
    • Place the code within opening and closing div tags (for example between <ouc:div> and </ouc:div>) to see the calendar on the page.
  4. Paste the code snippet.
  5. Save and Publish.