Calendars and grids can be accessed from the Calendars tab within the application, but also directly via URL or embedded within another website. The calendar or grid URL can be used to create shortcuts in a browser, or place links in other website pages or on the Astra Schedule portal. A calendar or grid can be embedded in another website within an iframe so that it is visible on another page, either as a full version or as a condensed, list-only view of activities, depending on the space available.
When accessing a calendar by using the URL directly, the request for calendar access is made as the Guest system user. If the Guest does not have access to the calendar in question, they will be redirected to the Guest user's "default" calendar access.
The information needed to configure alternate access to calendars and grids is contained in the calendar definition. Once a calendar or grid is created and saved, the full URL is displayed in the URL field on the form. You can copy and paste this information into a browser to access the calendar or grid directly, without first launching the application.
Additionally, the fully formed iframe HTML is provided for two different forms of the calendar. This content may be added to another website's HTML so that the Astra Schedule calendar is displayed in that site. To access this information, click the Embed Calendar button on the calendar definition form.
The "Normal View" option embeds the full calendar in an iframe, including all navigation and filter options (as defined). This view could be used to provide full calendar access on your campus or other website, space permitting.
Normal View HTML:
Full Calendar example in an iframe:
The "Condensed View" option passes in a parameter that embeds a specially formatted version of the calendar designed to fit in a smaller space. This view removes the filter and navigation header so save space, and is designed around the idea of a simple list view of upcoming activities that you want to highlight on another site. The condensed view option displays ONLY the default view selected in the calendar definition.
Condensed View HTML:
Condensed calendar example in an iframe:
NOTE: Embedded calendars can be styled independently from the main application calendars. Click here for tips on getting started.
Example of an embedded calendar on an external website: