Difference between revisions of "PT Photo Gallery Upgrade v3.0"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == This guide is to upgrade the PT Photo Gallery v3 from v2.3. If you are updating from a version earlier than v2.3, please follow the [[PT_Photo_Gallery_Version_2.3…')
 
(Site Level Customizations Review)
Line 27: Line 27:
  
 
== Site Level Customizations Review ==
 
== Site Level Customizations Review ==
SAMPLE TEXT (Review to check if any site level customizations were made to the app code.)
 
 
 
This is only for reviewing the site level customizations in the "/_cs_apps/pt_photo_gallery/" directory, not in the ADF directory.
 
This is only for reviewing the site level customizations in the "/_cs_apps/pt_photo_gallery/" directory, not in the ADF directory.
  

Revision as of 15:59, 15 February 2013

Overview

This guide is to upgrade the PT Photo Gallery v3 from v2.3. If you are updating from a version earlier than v2.3, please follow the v2.3 Upgrade Guide before upgrading.

ADF Application Code Review

This is only for reviewing the code that is in the "/ADF/apps/" directory, not at the site level.

  1. Download the application from the Community project page.
  2. Unzip the application zip folder.
  3. Analyze the updated app code compared to the current app code on your server.
    1. Identify any customizations that you have made to the application code to make sure these are not overwritten by the app update.
    2. A great tool to use is Beyond Compare to compare the new and current file to identify the exact lines of code that have been changed.
  4. Once this is complete, then move your app customizations into the new app code package.

Application Code

  1. Rename directory "/ADF/apps/pt_photo_gallery" to "/ADF/apps/pt_photo_gallery_v2".
  2. Rename file "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm" to "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm.old".
  3. Move the PT Photo Gallery v3 and into the "/ADF/apps/pt_photo_gallery/" directory.
  4. Reset the ADF.

Custom Field Types

Are any custom field types added in this app version? If so, register them in the site.


Custom Element Updates

Do Any Custom Elements need fields updated? If so, what are the fields and what are the changes?


Site Level Customizations Review

This is only for reviewing the site level customizations in the "/_cs_apps/pt_photo_gallery/" directory, not in the ADF directory.

  1. Analyze the updated app code compared to the app customization code on your server.
    1. Identify any customizations that you have made to the application code to make sure these are updated with any functionality.
    2. Again, Beyond Compare is a good tool to compare the new and current file to identify the exact lines of code that have been changed.
    3. This is important for components that have customized functions to the site level "/_cs_apps/". The best practice is to identify the function that have been customized and compare with the new app function to identify any updates. A good help is to check the function comment header to see if any updates have been made.
  2. Once completed, Reset the ADF.

Reset the ADF

Reset the ADF for the server and site.