Difference between revisions of "PT Blog Version 2.2 Upgrade"
From ADF Docs
(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…') |
Gcronkright (talk | contribs) (→Application Code) |
||
(One intermediate revision by one other user not shown) | |||
Line 3: | Line 3: | ||
== Application Code == | == Application Code == | ||
− | # | + | # Rename directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v2_1". |
− | # | + | # Rename file "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm.old". |
− | # | + | # 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
- Rename directory "/ADF/apps/pt_blog" to "/ADF/apps/pt_blog_v2_1".
- Rename file "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm" to "/ADF/apps/pt_blog_v2_1/appBeanConfig.cfm.old".
- Download the PT Blog v2.2 and exported into the "/ADF/apps/pt_blog/" directory.
Custom Element Updates
Blog2
Update the following fields:
- Field Name: name
- Required: Yes
- Field Name: subsiteURL
- Required: Yes
- Default Value: "/blogs/"
- Field Name: blogTemplate
- Label: "Blog Post Template"
- Description: Select the template for the blog post pages to be derived.
- 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
Update the following fields:
- Field Name: content
- Required: Yes