Difference between revisions of "PT Blog Version 2.2 Upgrade"

From ADF Docs
Jump to: navigation, search
(Created page with '== Overview == This guide is to upgrade the PT Blog v2.1 application. If upgrading from a lower version than v2.1, please follow the [[PT_Blog_Version_2.2_Install|Version 2.2 In…')
 
(Application Code)
 
(One intermediate revision by one other user not shown)
Line 3: Line 3:
  
 
== Application Code ==
 
== Application Code ==
# Renamed directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v2_1".
+
# Rename directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v2_1".
# Renamed file "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm.old".
+
# Rename file "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm.old".
# Downloaded the PT Blog v2.2 and exported into the "/ADF/apps/pt_blog/" directory.
+
# Download the PT Blog v2.2 and exported into the "/ADF/apps/pt_blog/" directory.
  
 
== Custom Element Updates ==
 
== Custom Element Updates ==
Line 20: Line 20:
 
## Description: Select the template for the blog post pages to be derived.
 
## Description: Select the template for the blog post pages to be derived.
 
## Required: Yes
 
## Required: Yes
 +
 +
Add the following field:
 +
# Field Name: commentApproval
 +
## In the "Blog2" tab.
 +
## Label: Comments Require Approval
 +
## Type: Checkbox
 +
## Description: Check this box to have the comments require approval before rendering on the blog page.
 +
## Properties:
 +
### Value: 1
  
 
=== Posts2 ===
 
=== Posts2 ===

Latest revision as of 18:34, 16 February 2018

Overview

This guide is to upgrade the PT Blog v2.1 application. If upgrading from a lower version than v2.1, please follow the Version 2.2 Install Guide to validate your installation.

Application Code

  1. Rename directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v2_1".
  2. Rename file "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm.old".
  3. Download the PT Blog v2.2 and exported into the "/ADF/apps/pt_blog/" directory.

Custom Element Updates

Blog2

Update the following fields:

  1. Field Name: name
    1. Required: Yes
  2. Field Name: subsiteURL
    1. Required: Yes
    2. Default Value: "/blogs/"
  3. Field Name: blogTemplate
    1. Label: "Blog Post Template"
    2. Description: Select the template for the blog post pages to be derived.
    3. Required: Yes

Add the following field:

  1. Field Name: commentApproval
    1. In the "Blog2" tab.
    2. Label: Comments Require Approval
    3. Type: Checkbox
    4. Description: Check this box to have the comments require approval before rendering on the blog page.
    5. Properties:
      1. Value: 1

Posts2

Update the following fields:

  1. Field Name: content
    1. Required: Yes