Difference between revisions of "PT Calendar Version 3.1 Upgrade"

From ADF Docs
Jump to: navigation, search
(Overview)
 
Line 5: Line 5:
 
== Overview ==
 
== 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 [[PT_Calendar_Version_3_Upgrade|Version 3.0 Upgrade Guide]] before upgrading to v3.1.
 
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 [[PT_Calendar_Version_3_Upgrade|Version 3.0 Upgrade Guide]] before upgrading to v3.1.
 +
 +
== Download ==
 +
Download the Calendar Application from the [http://community.paperthin.com/projects/pt_calendar2/index.cfm Community Site Project] or from the SVN Repository.
  
 
== Custom Element Updates ==
 
== Custom Element Updates ==

Latest revision as of 23:28, 17 February 2022

Back to PT Calendar

IMPORTANT: v3.1 of this application requires ADF 1.7 or greater 

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.

Download

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

Custom Element Updates

PTCalendar Configuration

Update the following field in the Rendering and Display tab of the ptCalendar Configuration element:

  1. add an additional Tool Tip theme VALUE (to allow qTips2 to use the Apps selected jQueryUI Theme)
    1. Field Name: Calendar_App_ToolTip_Theme
    2. Type: Selection List
    3. Properties:
      1. Option List Source: Value List
      2. Option List: cream,dark,green,light,red,blue,UI
      3. Default Value: cream

Add the following fields in the Rendering and Display tab of the ptCalendar Configuration element:

  1. a Past Events Rollup on the Month List selection list field
    1. Type: Selection List
    2. Field Name: collapseCurrentMonthsPastEvents
    3. Field Label: Roll Up Current Month's Past Events
    4. Description: Only applicable for the Month List View
    5. Required: No
    6. Properties:
      1. Option List Source: Value List
      2. Option List: Yes,No
      3. Multiple: No
      4. Select Option: No
      5. Size: 1
      6. Default Value: Yes
  2. an Organizations Sort Field selection list field
    1. Type: Selection List
    2. Field Name: sortFieldOrganizations
    3. Field Label: Organizations Sort Field
    4. Description:
    5. Required: No
    6. Properties:
      1. Option List Source: Value List
      2. Option List: Name,Ordinal
      3. Multiple: No
      4. Select Option: No
      5. Size: 1
      6. Default Value: Name
  3. a Categories Sort Field selection list field
    1. Type: Selection List
    2. Field Name: sortFieldCategories
    3. Field Label: Categories Sort Field
    4. Description:
    5. Required: No
    6. Properties:
      1. Option List Source: Value List
      2. Option List: Name,Ordinal
      3. Multiple: No
      4. Select Option: No
      5. Size: 1
      6. Default Value: Name

Add the following fields in the Performance and Debugging tab of the ptCalendar Configuration element:

  1. an Enable Event Cache for Events Management checkbox field
    1. Type: Checkbox
    2. Field Name: enableEventCacheForManagement
    3. Field Label: Enable Event Cache for Events Management
    4. Description:
    5. Required: No
    6. Properties:
      1. Value: 1
      2. Checked by default: False

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_calendar" to "/ADF/apps/pt_calendar_v3".
  2. Rename file "/ADF/apps/pt_calendar_v3/appBeanConfig.cfm" to "/ADF/apps/pt_calendar_v3/appBeanConfig.cfm.old".
  3. Move the PT Calendar v3 and into the "/ADF/apps/pt_calendar/" directory.
  4. 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.

  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.