Difference between revisions of "PT Photo Gallery Version 2.1 Upgrade"
From ADF Docs
(Created page with '== 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 [[PT_Photo_Gallery_Version_2…') |
(→Photo Category) |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
== Overview == | == 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 [[PT_Photo_Gallery_Version_2. | + | 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 [[PT_Photo_Gallery_Version_2.0_Upgrade|v2.0 Upgrade Guide]] before upgrading. |
== Application Code == | == Application Code == | ||
Line 6: | Line 6: | ||
# Renamed file "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm" to "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm.old". | # Renamed file "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm" to "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm.old". | ||
# Downloaded the PT Photo Gallery v2.1 and exported into the "/ADF/apps/pt_photo_gallery/" directory. | # Downloaded the PT Photo Gallery v2.1 and exported into the "/ADF/apps/pt_photo_gallery/" directory. | ||
+ | # Reset the ADF. | ||
== Custom Field Types == | == Custom Field Types == | ||
Line 14: | Line 15: | ||
== Custom Element Updates == | == Custom Element Updates == | ||
+ | |||
+ | === Photo Gallery === | ||
+ | Add the following new fields: | ||
+ | # Name: photoGalleryID | ||
+ | ## Type: Hidden | ||
+ | ## Default Value: ColdFusion Expression: {createUUID()} | ||
+ | |||
+ | === Photo Category === | ||
+ | # Edit the field defintion properties for the "reqSizeIDList" field. | ||
+ | ## If running the ADF v1.5.2 or greater, edit the "Load All Available Selections" property field. | ||
+ | ### Set the value to "true". | ||
+ | # Edit the field defintion properties for the "resizeSizeIDList" field. | ||
+ | ## If running the ADF v1.5.2 or greater, edit the "Load All Available Selections" property field. | ||
+ | ### Set the value to "true". | ||
+ | |||
=== PtPhotoGallery Configuration === | === PtPhotoGallery Configuration === | ||
Add the following new fields: | Add the following new fields: |
Latest revision as of 20:40, 5 February 2013
Contents
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
- Renamed directory "/ADF/apps/pt_photo_gallery" to "/ADF/apps/pt_photo_gallery_v2".
- Renamed file "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm" to "/ADF/apps/pt_photo_gallery_v2/appBeanConfig.cfm.old".
- Downloaded the PT Photo Gallery v2.1 and exported into the "/ADF/apps/pt_photo_gallery/" directory.
- Reset the ADF.
Custom Field Types
Photo Upload Link
- In the site administration, check if you have the "Photo Upload Link" field registered.
- If yes, then identify the custom element using the field. Open the field definition properties dialog and save.
- If no, then no further steps need to be taken.
Custom Element Updates
Photo Gallery
Add the following new fields:
- Name: photoGalleryID
- Type: Hidden
- Default Value: ColdFusion Expression: {createUUID()}
Photo Category
- Edit the field defintion properties for the "reqSizeIDList" field.
- If running the ADF v1.5.2 or greater, edit the "Load All Available Selections" property field.
- Set the value to "true".
- If running the ADF v1.5.2 or greater, edit the "Load All Available Selections" property field.
- Edit the field defintion properties for the "resizeSizeIDList" field.
- If running the ADF v1.5.2 or greater, edit the "Load All Available Selections" property field.
- Set the value to "true".
- If running the ADF v1.5.2 or greater, edit the "Load All Available Selections" property field.
PtPhotoGallery Configuration
Add the following new fields:
- Name: DEST_DOC_TYPE
- In the "Features" tab.
- Type: Text
- Label: DESTINATION DOC TYPE
- Description: File extension for the uploaded file. This allows all the uploaded files to be the same file extension.
- Default Value: png
Configuration Manager
- Navigate to the "Configuration Manager" page for the Photo Gallery app. Edit and save the configuration record.
- Modify the field for the DESTINATION DOC TYPE is desired.
Reset the ADF! Then enjoy the new updates.