Difference between revisions of "PT Forums Import Custom Elements"

From ADF Docs
Jump to: navigation, search
(Import)
Line 8: Line 8:
 
Import all portions of each component in the order listed.
 
Import all portions of each component in the order listed.
  
'''Create an Element Category:'''  
+
'''Create a Custom Element Category:'''  
 
# ptForums (optional)
 
# ptForums (optional)
  

Revision as of 15:13, 26 March 2010

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_forums application directory (e.g. /ADF/apps/pt_forums/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 Custom Element Category:

  1. ptForums (optional)


Import Custom Elements:

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