PT Forums Import Custom Elements

From ADF Docs
Jump to: navigation, search

Back to PT Forum Overview

Overview

The Forums App has several Custom Components defined within CommonSpot. These components are available in the Forums "exported-objects" folder located at the root of the pt_forum application directory (e.g. /ADF/apps/pt_forum/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. ptForum (optional)


Import Custom Elements in to the new Category:

  1. Forum Categories - (Forum-Categories-Custom-Element.zip)
  2. Forum Topics - (Forum-Topics-Custom-Element.zip)
  3. Forum Threads - (Forum-Threads-Custom-Element.zip)
  4. Forum Messages - (Forum-Messages-Custom-Element.zip)
  5. Forum User Settings - (Forum-User-Settings-Custom-Element.zip)
  6. Forum Subscriptions - (Forum-Subscriptions-Custom-Element.zip)
  7. ptForum Configuration - (ptForums-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. Custom Hidden Field
  3. Custom Text Field
  4. Forum Users Select Field

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/".