PT Calendar Version 3.1 Upgrade
From ADF Docs
Back to PT Calendar
Contents
Overview
This guide is to upgrade the PT Calendar v3.1 from v3.0. If you are updating from a version earlier than v3.0, please follow the Version 3.0 Upgrade Guide before upgrading to v3.1.
Custom Element Updates
PTCalendar Configuration
Update the following field in the Rendering and Display tab of the ptCalendar Configuration element:
- add an additional Tool Tip theme VALUE (to allow qTips2 to use the Apps selected jQueryUI Theme)
- Field Name: Calendar_App_ToolTip_Theme
- Type: Selection List
- Properties:
- Option List Source: Value List
- Option List: cream,dark,green,light,red,blue,UI
- Default Value: cream
Add the following fields in the Rendering and Display tab of the ptCalendar Configuration element:
- an Organizations Sort Field selection list field
- Type: text
- Field Name: sortFieldOrganizations
- Field Label: Organizations Sort Field
- Description:
- Required: No
- Properties:
- Option List Source: Value List
- Option List: Name,Ordinal
- Multiple: No
- Select Option: No
- Size: 1
- Default Value: Name
- an Categories Sort Field selection list field
- Type: text
- Field Name: sortFieldCategories
- Field Label: Categories Sort Field
- Description:
- Required: No
- Properties:
- Option List Source: Value List
- Option List: Name,Ordinal
- Multiple: No
- Select Option: No
- Size: 1
- Default Value: Name
ADF Application Code Review
This is only for reviewing the code that is in the "/ADF/apps/" directory, not at the site level.
- Download the application from the Community project page.
- Unzip the application zip folder.
- Analyze the updated app code compared to the current app code on your server.
- Identify any customizations that you have made to the application code to make sure these are not overwritten by the app update.
- 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.
- Once this is complete, then move your app customizations into the new app code package.
Application Code
- Rename directory "/ADF/apps/pt_calendar" to "/ADF/apps/pt_calendar_v3".
- Rename file "/ADF/apps/pt_calendar_v3/appBeanConfig.cfm" to "/ADF/apps/pt_calendar_v3/appBeanConfig.cfm.old".
- Move the PT Calendar v3 and into the "/ADF/apps/pt_calendar/" directory.
- Reset the ADF
Site Level Customizations Review
This is only for reviewing the site level customizations in the "/_cs_apps/pt_calendar/" directory, not in the ADF directory.
- Analyze the updated app code compared to the app customization code on your server.
- Identify any customizations that you have made to the application code to make sure these are updated with any functionality.
- 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.
- 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.
- Once completed, Reset the ADF.
Reset the ADF
Reset the ADF for the server and site.