PT Photo Gallery Version 2.1 Upgrade

From ADF Docs
Revision as of 20:20, 26 June 2012 by Mcarroll (talk | contribs) (Overview)
Jump to: navigation, search

Overview

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

Application Code

  1. Renamed directory "/ADF/apps/pt_photo_gallery" to "/ADF/apps/pt_photo_gallery_v2".
  2. Renamed file "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm" to "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm.old".
  3. Downloaded the PT Photo Gallery v2.1 and exported into the "/ADF/apps/pt_photo_gallery/" directory.
  4. Reset the ADF.

Custom Field Types

Photo Upload Link

  1. In the site administration, check if you have the "Photo Upload Link" field registered.
    1. If yes, then identify the custom element using the field. Open the field definition properties dialog and save.
    2. If no, then no further steps need to be taken.

Custom Element Updates

Photo Gallery

Add the following new fields:

  1. Name: photoGalleryID
    1. Type: Hidden
    2. Default Value: ColdFusion Expression: {createUUID()}

Photo Category

  1. Edit the field defintion properties for the "reqSizeIDList" field.
    1. If running the ADF v1.5.2, edit the "Load All Available Selections" property field.
      1. Set the value to "true".
  2. Edit the field defintion properties for the "resizeSizeIDList" field.
    1. If running the ADF v1.5.2, edit the "Load All Available Selections" property field.
      1. Set the value to "true".

PtPhotoGallery Configuration

Add the following new fields:

  1. Name: DEST_DOC_TYPE
    1. In the "Features" tab.
    2. Type: Text
    3. Label: DESTINATION DOC TYPE
    4. Description: File extension for the uploaded file. This allows all the uploaded files to be the same file extension.
    5. Default Value: png

Configuration Manager

  1. Navigate to the "Configuration Manager" page for the Photo Gallery app. Edit and save the configuration record.
    1. Modify the field for the DESTINATION DOC TYPE is desired.

Reset the ADF! Then enjoy the new updates.