Difference between revisions of "PT Portlet Import Custom Elements"
Gcronkright (talk | contribs) (Created page with '== Overview == The Portlet App has several Custom Components defined within CommonSpot. These components are available in the Portlet "exported-objects" folder located at the roo…') |
Gcronkright (talk | contribs) (→Import) |
||
(2 intermediate revisions 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) | ||
Line 21: | Line 23: | ||
## PortletPodUserData - (PortletPodUserData-Custom-Element.zip) | ## PortletPodUserData - (PortletPodUserData-Custom-Element.zip) | ||
## ptPortlet Configuration - (ptPortlet-Configuration-Custom-Element.zip) | ## ptPortlet Configuration - (ptPortlet-Configuration-Custom-Element.zip) | ||
− | |||
# Portlet Pod Types | # Portlet Pod Types | ||
## Links - (Links-Custom-Element.zip) | ## Links - (Links-Custom-Element.zip) | ||
Line 28: | Line 29: | ||
## Weather - (Weather-Custom-Element.zip) | ## Weather - (Weather-Custom-Element.zip) | ||
## Custom_File - (Custom_File-Custom-Element.zip) | ## Custom_File - (Custom_File-Custom-Element.zip) | ||
− | |||
#Portlet Pod Content | #Portlet Pod Content | ||
## Link Items - (Link-Items-Custom-Element.zip) - (required for 'Links' above) | ## Link Items - (Link-Items-Custom-Element.zip) - (required for 'Links' above) |
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:
- Portlet App Elements (required)
- Portlet Pod Types (required)
- Portlet Pod Content (optional)
Import Custom Elements in to their new Category:
- Portlet App Elements
- Portlet_Columns - (Portlet-Columns-Custom-Element.zip)
- PortletPodInstances - (PortletPodInstances-Custom-Element.zip)
- PortletPodUserData - (PortletPodUserData-Custom-Element.zip)
- ptPortlet Configuration - (ptPortlet-Configuration-Custom-Element.zip)
- Portlet Pod Types
- Links - (Links-Custom-Element.zip)
- RSS_Feeds - (RSS_Feeds-Custom-Element.zip)
- Simple_Content - (Simple_Content-Custom-Element.zip)
- Weather - (Weather-Custom-Element.zip)
- Custom_File - (Custom_File-Custom-Element.zip)
- Portlet Pod Content
- Link Items - (Link-Items-Custom-Element.zip) - (required for 'Links' above)
- 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.
- General Chooser
- Custom Hidden Field
- 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/".