Difference between revisions of "PT Portlet Import Custom Elements"

From ADF Docs
Jump to: navigation, search
(Import)
(Import)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 +
Back to [[Portlet|PT Portlet Overview]]
 +
 
== Overview ==
 
== Overview ==
 
The Portlet App has several Custom Components defined within CommonSpot. These components are available in the Portlet "exported-objects" folder located at the root of the pt_portlet application directory (e.g. /ADF/apps/pt_portlet/exported-objects/)
 
The Portlet App has several Custom Components defined within CommonSpot. These components are available in the Portlet "exported-objects" folder located at the root of the pt_portlet application directory (e.g. /ADF/apps/pt_portlet/exported-objects/)
Line 10: Line 12:
 
'''Create 3 new Custom Element Category:'''  
 
'''Create 3 new Custom Element Category:'''  
 
# Portlet App Elements  (required)
 
# Portlet App Elements  (required)
# Pod Types (required)
+
# Portlet Pod Types (required)
 
# Portlet Pod Content (optional)
 
# Portlet Pod Content (optional)
  

Latest revision as of 04:42, 30 April 2010

Back to PT Portlet Overview

Overview

The Portlet App has several Custom Components defined within CommonSpot. These components are available in the Portlet "exported-objects" folder located at the root of the pt_portlet application directory (e.g. /ADF/apps/pt_portlet/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 3 new Custom Element Category:

  1. Portlet App Elements (required)
  2. Portlet Pod Types (required)
  3. Portlet Pod Content (optional)


Import Custom Elements in to their new Category:

  1. Portlet App Elements
    1. Portlet_Columns - (Portlet-Columns-Custom-Element.zip)
    2. PortletPodInstances - (PortletPodInstances-Custom-Element.zip)
    3. PortletPodUserData - (PortletPodUserData-Custom-Element.zip)
    4. ptPortlet Configuration - (ptPortlet-Configuration-Custom-Element.zip)
  2. Portlet Pod Types
    1. Links - (Links-Custom-Element.zip)
    2. RSS_Feeds - (RSS_Feeds-Custom-Element.zip)
    3. Simple_Content - (Simple_Content-Custom-Element.zip)
    4. Weather - (Weather-Custom-Element.zip)
    5. Custom_File - (Custom_File-Custom-Element.zip)
  3. Portlet Pod Content
    1. Link Items - (Link-Items-Custom-Element.zip) - (required for 'Links' above)
    2. RSS Formatted Content - (RSS-Formatted-Content-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

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