Difference between revisions of "PT Profile Version 2.0 Upgrade"

From ADF Docs
Jump to: navigation, search
(Overview)
 
(3 intermediate revisions by one other user not shown)
Line 1: Line 1:
 
== Overview ==
 
== Overview ==
The following guide is upgrading from v1.0 to v2.0.
+
The following guide is upgrading from v1.0 to v2.0.
 +
 
 +
== Download ==
 +
Download the Profile Application from the [http://community.paperthin.com/projects/pt_profile/index.cfm Community Site Project] or from the SVN Repository.
  
 
== Application Code ==
 
== Application Code ==
Line 10: Line 13:
 
=== Profile ===
 
=== Profile ===
 
# Update the "uniqueID" field.
 
# Update the "uniqueID" field.
## In the properties, update the "Default Field Value" to the ColdFusion expresssion "request.params.profileUID".
+
## In the properties, update the "Default Field Value" to the ColdFusion expresssion "createUUID()".
  
 
== Styles ==
 
== Styles ==
Line 16: Line 19:
 
 
 
== Lightbox Pages/Template ==
 
== Lightbox Pages/Template ==
 +
# Move all the images within the "/lightbox/profiles/" subsite to "/webadmin/profile/" subsite.
 
# Delete all the Lightbox pages that was created for the photo gallery app.  They should be within the "/lightbox/profiles/" subsite.  
 
# Delete all the Lightbox pages that was created for the photo gallery app.  They should be within the "/lightbox/profiles/" subsite.  
 
## If the Lightbox Template exists, check if the template has derived pages that are not part of the profile app, then you can delete the Lightbox Template.
 
## If the Lightbox Template exists, check if the template has derived pages that are not part of the profile app, then you can delete the Lightbox Template.

Latest revision as of 23:26, 17 February 2022

Overview

The following guide is upgrading from v1.0 to v2.0.

Download

Download the Profile Application from the Community Site Project or from the SVN Repository.

Application Code

  1. Renamed directory "/ADF/apps/pt_profile" to "/ADF/apps/pt_profile_v1".
  2. Renamed file "/ADF/apps/pt_profile_v1/appBeanConfig.cfm" to "/ADF/apps/pt_profile_v1/appBeanConfig.cfm.old".
  3. Downloaded the PT Profile v2.0 and exported into the "/ADF/apps/pt_profile/" directory.

Custom Elements Updates

Profile

  1. Update the "uniqueID" field.
    1. In the properties, update the "Default Field Value" to the ColdFusion expresssion "createUUID()".

Styles

  1. The profile style sheet does not need to be registered within CS at the base plus one template. Please remove the "profile.css" from the CommonSpot registered style sheets. The render handlers now load any CSS required within the RH code.

Lightbox Pages/Template

  1. Move all the images within the "/lightbox/profiles/" subsite to "/webadmin/profile/" subsite.
  2. Delete all the Lightbox pages that was created for the photo gallery app. They should be within the "/lightbox/profiles/" subsite.
    1. If the Lightbox Template exists, check if the template has derived pages that are not part of the profile app, then you can delete the Lightbox Template.

Configuration

  1. Remove the "DELETE_URL" tag from the configuration xml.
  2. Remove the "ADD_URL" tag from the configuration xml.

Reset the ADF for the server and site.

Site Customizations

During the application implementation customizations may have been created. Check under the "/_cs_apps/pt_profile/" directory under you site to see if any customizations exists. If you do have site customizations, you'll need to update these accordingly.