Difference between revisions of "PT Social Media Version 1.2 Upgrade"

From ADF Docs
Jump to: navigation, search
(Created page with 'Back to Social Media IMPORTANT: v1.2 IS NOT RELEASED AND THESE DOCS ARE NOT COMPLETE!!! <!-- IMPORTANT: '''ADF 1.5''' or greater is '''REQUIRED''' for thi…')
 
Line 4: Line 4:
  
 
  <!-- IMPORTANT: '''ADF 1.5''' or greater is '''REQUIRED''' for this application. -->
 
  <!-- IMPORTANT: '''ADF 1.5''' or greater is '''REQUIRED''' for this application. -->
 +
 +
== Overview ==
 +
This guide is to upgrade the PT Social Media from version 1.0 or 1.1 to version 1.2 of the application. 
 +
 +
== Application Code ==
 +
 +
Remember: Please backup your pt_social_media directory and move the backup out of the ADF/apps directory
 +
 +
# Rename the directory "/ADF/apps/pt_social_media" to "/ADF/apps/pt_social_media_v1_0".
 +
# Rename the file "/ADF/apps/pt_social_media_v1_0/appBeanConfig.cfm" to "/ADF/apps/pt_social_media_v1_0/appBeanConfig.cfm.old".
 +
# Download PT Social Media v1.2 and copy the extracted files into the "/ADF/apps/pt_social_media/" directory.
 +
 +
== Custom Element Updates ==
 +
 +
=== PTSocialMedia Configuration ===
 +
Add the following new fields to the '''General Config''' tab:
 +
#a Select Service Types multi-checkbox field
 +
##Type: multicheckbox
 +
##Field Name:  socialMediaServiceTypes
 +
##Field Label:  Select Service Types
 +
##Required: No
 +
##Properties:
 +
###Option List Source: Value List
 +
###Option List: Facebook,Twitter,YouTube,WordPress
 +
###Default Value: Facebook,Twitter,YouTube,WordPress
 +
#a Dashboard URL cs_url field
 +
##Type: cs_url
 +
##Field Name:  dashboardURL
 +
##Field Label:  Dashboard URL
 +
##Required: No
 +
#a Serivce Manager URL cs_url field
 +
##Type: cs_url
 +
##Field Name:  serviceManagerURL
 +
##Field Label:  Serivce Manager URL
 +
##Required: No
 +
#a Configuration Manger URL cs_url field
 +
##Type: cs_url
 +
##Field Name:  configManagerURL
 +
##Field Label:  Configuration Manager URL
 +
##Required: No
 +
#a Enable Feed Cache checkbox field
 +
##Type: checkbox
 +
##Field Name:  enableFeedCache
 +
##Field Label:  Enable Feed Cache
 +
##Required: No
 +
##Properties:
 +
###Value: 1
 +
###Checked by default: 0
 +
#a Rebuild Feed Cache Interval integer field
 +
##Type: integer
 +
##Field Name:  rebuildFeedCacheInterval
 +
##Field Label:  Rebuild Feed Cache Interval
 +
##Required: No
 +
##Properties:
 +
###Maxlength: 10
 +
###Size: 10
 +
 +
== New Features ==
 +
# Social Media Service Feed Data Cache
 +
# Social Media Dashboard Admin Page
 +
 +
== Updates ==
 +
# Follow the [[PT Social Media Version 1.2 Install|v1.2 install guide]] to build the following admin page:
 +
## [[PT Social Media Version 1.2 Install#Admin Pages|Admin Pages]] > [[PT Social Media Version 1.2 Install#Social Media Dashboard Page|Social Media Dashboard Page]]
 +
 +
<!--
 +
 +
# Metadata Form:
 +
## Rename the metadata form to "Blogs2" (from "Blogs").  Potential issue if you have the old Blog application installed and have a custom metadata form named "Blog" within your site.
 +
## Update the Blog Post template render mode filter expression with "request.page.metadata.blogs2" metadata form.
 +
## Update the Blog Post Landing Page and Tags Listing templates if they are created.
 +
# CCAPI
 +
## Update the CCAPI Page to include the "Blog2 Feature Data" element.  Review the V2.1 install guide for "CCAPI Configuration" to make sure all the CCAPI elements are configured.
 +
## Update the CCAPI Page to include the "Blog2" element.  Review the V2.1 install guide for "CCAPI Configuration" to make sure all the CCAPI elements are configured.
 +
# Blog Manager Page
 +
## The new blog manager page has removed the "dashboard" link to an icon along side the edit and delete icons.   
 +
## Follow the following steps to update the datasheet:
 +
### Edit datasheet columns
 +
### On the second column (blogID), change the render handler to:
 +
#### /ADF/apps/pt_blog/datasheet-modules/blog_edit_delete.cfm
 +
### On the first column, rename the header to "blogTemplate", and then delete the column from the datasheet.
 +
## The datasheet will now show 3 icons in the first column of the datasheet.  The 3rd icon will open to the blog dashboard.
 +
# Blog Subsite Field
 +
## The subsite field in the Blog2 custom element has been replaced with a new field called 'subsiteURL'.  '''All the blogs records (not the blog posts) need to be updated for this new field.'''  Follow the steps below to remove this field.
 +
### Navigate to the Blog Manager.  Edit all the blog records.  In the blog form, enter the subsite path in the 'subsiteURL' field that is displayed in the 'subsite' select field. 
 +
### After all the blog records are updated.  On the site administrator and manage the elements.  Open the field definitions for the 'Blog2' custom element.  Delete the 'subsite' field from the custom element.
 +
 +
-->

Revision as of 15:59, 3 May 2012

Back to Social Media

IMPORTANT: v1.2 IS NOT RELEASED AND THESE DOCS ARE NOT COMPLETE!!!


Overview

This guide is to upgrade the PT Social Media from version 1.0 or 1.1 to version 1.2 of the application.

Application Code

Remember: Please backup your pt_social_media directory and move the backup out of the ADF/apps directory 
  1. Rename the directory "/ADF/apps/pt_social_media" to "/ADF/apps/pt_social_media_v1_0".
  2. Rename the file "/ADF/apps/pt_social_media_v1_0/appBeanConfig.cfm" to "/ADF/apps/pt_social_media_v1_0/appBeanConfig.cfm.old".
  3. Download PT Social Media v1.2 and copy the extracted files into the "/ADF/apps/pt_social_media/" directory.

Custom Element Updates

PTSocialMedia Configuration

Add the following new fields to the General Config tab:

  1. a Select Service Types multi-checkbox field
    1. Type: multicheckbox
    2. Field Name: socialMediaServiceTypes
    3. Field Label: Select Service Types
    4. Required: No
    5. Properties:
      1. Option List Source: Value List
      2. Option List: Facebook,Twitter,YouTube,WordPress
      3. Default Value: Facebook,Twitter,YouTube,WordPress
  2. a Dashboard URL cs_url field
    1. Type: cs_url
    2. Field Name: dashboardURL
    3. Field Label: Dashboard URL
    4. Required: No
  3. a Serivce Manager URL cs_url field
    1. Type: cs_url
    2. Field Name: serviceManagerURL
    3. Field Label: Serivce Manager URL
    4. Required: No
  4. a Configuration Manger URL cs_url field
    1. Type: cs_url
    2. Field Name: configManagerURL
    3. Field Label: Configuration Manager URL
    4. Required: No
  5. a Enable Feed Cache checkbox field
    1. Type: checkbox
    2. Field Name: enableFeedCache
    3. Field Label: Enable Feed Cache
    4. Required: No
    5. Properties:
      1. Value: 1
      2. Checked by default: 0
  6. a Rebuild Feed Cache Interval integer field
    1. Type: integer
    2. Field Name: rebuildFeedCacheInterval
    3. Field Label: Rebuild Feed Cache Interval
    4. Required: No
    5. Properties:
      1. Maxlength: 10
      2. Size: 10

New Features

  1. Social Media Service Feed Data Cache
  2. Social Media Dashboard Admin Page

Updates

  1. Follow the v1.2 install guide to build the following admin page:
    1. Admin Pages > Social Media Dashboard Page