PT Calendar2 Import Custom Elements
Back to PT Calendar Overview
Overview
The Calendars App has several Custom Components defined within CommonSpot. These components are available in the Calendar "exported-objects" folder located at the root of the pt_calendar2 application directory (e.g. /ADF/apps/pt_calendar2/exported-objects/)
To import these objects, you will need to be an administrator for your site.
Import
Import all portions of each component in the order listed.
Create a new Custom Element Category:
- ptCalendar2 Elements (optional)
Import Custom Elements in to the new Category:
- Event Organizations (Event-Organizations-Custom-Element.zip)
- Event Categories (Event-Categories-Custom-Element.zip)
- Calendar (Calendar-Custom-Element.zip)
- Calendar Page Map (Calendar-Page-Map-Custom-Element.zip)
- ptCalendar2 Configuration (ptCalendar2-Configuration-Custom-Element.zip)
Verify/Update Imports:
The imported components' render handlers and custom field types must be verified. During the import process, the render handler and custom field types paths may have been changed to reflect the current site's path.
- General Chooser
- Subsite Select
- App Config Page
Review and update these paths to reference the ADF path. In most cases, this will just require a change in the path from the site name to 'ADF'. Check the paths for the custom field types that were imported with the custom elements by unlocking them and fixing the explicit paths to point to "/ADF/extensions/".