PT Calendar2 Import Custom Elements

From ADF Docs
Jump to: navigation, search

Back to PT Calendar Version 2.0 Install

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:

  1. ptCalendar2 Elements (optional)

Import Custom Elements in to the new Category:

  1. Event Organizations (Event-Organizations-Custom-Element.zip)
  2. Event Categories (Event-Categories-Custom-Element.zip)
  3. Calendar2 (Calendar2-Custom-Element.zip)
  4. Calendar2 Page Map (Calendar2-Page-Map-Custom-Element.zip)
  5. 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.

  1. General Chooser
  2. Subsite Select
  3. 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/".