Difference between revisions of "PT Blog Version 4.1 Upgrade"

From ADF Docs
Jump to: navigation, search
(Created page with "Back to PT Blogs IMPORTANT: v4.1 of this application requires '''ADF 2.0''' or greater ('''ADF 2.3.1''' or greater is recommended) == Overview == This guide for...")
 
(Blog Dashboard Page Updates)
 
(3 intermediate revisions by the same user not shown)
Line 7: Line 7:
  
 
== Application Code ==
 
== Application Code ==
# Renamed directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v4_0".
+
# Rename directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v4_0".
# Renamed file "/ADF/apps/pt_blog_v4_0/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v4_0/appBeanConfig.cfm.old".
+
# Rename file "/ADF/apps/pt_blog_v4_0/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v4_0/appBeanConfig.cfm.old".
# Downloaded the PT Blog v4.1 and extract the files and folder structure into the "/ADF/apps/pt_blog/" directory.
+
# Download the PT Blog v4.1 and extract the files and folder structure into the "/ADF/apps/pt_blog/" directory.
 
# [[Reset ADF|Reset the ADF]].
 
# [[Reset ADF|Reset the ADF]].
  
Line 20: Line 20:
 
## 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.
 
## 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.
 
# Once completed, Reset the ADF.
 +
 +
== Blog Dashboard Page Updates ==
 +
 +
On the page Blog Dashboard where Blog Posts are managed which has the "/ADF/apps/pt_blog/customcf/blog_dashboard.cfm" custom script:
 +
# Update the DataSheet Results Filter for the Post2 (All Blog Posts) View:
 +
## Modify the filter to be: Field = Posts2.BlogID; Operator = "equals"; Value = "request.blogMgr.blogid" (note: use the Expression button)
 +
 +
Posts2.BlogID "Equals" {request.blogMgr.blogid}

Latest revision as of 15:37, 17 December 2021

Back to PT Blogs

IMPORTANT: v4.1 of this application requires ADF 2.0 or greater (ADF 2.3.1 or greater is recommended)

Overview

This guide for upgrading the PT Blog v4.1 application from v4.0. If upgrading from a lower version than v4.0, please follow the PT Blog Upgrade v4.0 Guide to validate your installation.

Application Code

  1. Rename directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v4_0".
  2. Rename file "/ADF/apps/pt_blog_v4_0/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v4_0/appBeanConfig.cfm.old".
  3. Download the PT Blog v4.1 and extract the files and folder structure into the "/ADF/apps/pt_blog/" directory.
  4. Reset the ADF.

Site Level Customizations Review

This is only for reviewing the site level customizations in the "/_cs_apps/pt_blog/" 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.

Blog Dashboard Page Updates

On the page Blog Dashboard where Blog Posts are managed which has the "/ADF/apps/pt_blog/customcf/blog_dashboard.cfm" custom script:

  1. Update the DataSheet Results Filter for the Post2 (All Blog Posts) View:
    1. Modify the filter to be: Field = Posts2.BlogID; Operator = "equals"; Value = "request.blogMgr.blogid" (note: use the Expression button)
Posts2.BlogID "Equals" {request.blogMgr.blogid}