Difference between revisions of "PT Social Media Version 1.2 Upgrade"
From ADF Docs
Gcronkright (talk | contribs) (→PTSocialMedia Configuration) |
Gcronkright (talk | contribs) (→PTSocialMedia Configuration) |
||
(5 intermediate revisions by the same user not shown) | |||
Line 51: | Line 51: | ||
###Size: 10 | ###Size: 10 | ||
###Default Value: 15 | ###Default Value: 15 | ||
− | Remove the following field | + | Remove the following field from the '''Facebook API''' tab of the ptSocialMedia Configuration element: |
#Field Name: apiFacebookAPIKey | #Field Name: apiFacebookAPIKey | ||
+ | |||
+ | === App Configuration Updates === | ||
+ | After the new fields have been added to the PTSocialMedia Configuration element: | ||
+ | # Go to the Social Media App Configuration Manager and click the '''"Edit Configuration"''' button. | ||
+ | # When the configuration form opens, add the '''default values''' from the list above as values for the new fields. | ||
+ | # Then click "Submit". | ||
+ | # When the configuration page reloads click the '''"Reset ADF / App Configuration"''' button. | ||
== Application Code == | == Application Code == | ||
+ | <!-- Remember: Please backup your pt_social_media directory and move the backup out<br>of the ADF/apps directory --> | ||
− | + | # Rename the directory "/ADF/apps/pt_social_media" to "/ADF/apps/pt_social_media_v1_1". | |
− | + | # Rename the file "/ADF/apps/pt_social_media_v1_1/appBeanConfig.cfm" to "/ADF/apps/pt_social_media_v1_1/appBeanConfig.cfm.old". | |
− | # Rename the directory "/ADF/apps/pt_social_media" to "/ADF/apps/ | ||
− | # Rename the file "/ADF/apps/ | ||
# Download PT Social Media v1.2 and copy the extracted files into the "/ADF/apps/pt_social_media/" directory. | # Download PT Social Media v1.2 and copy the extracted files into the "/ADF/apps/pt_social_media/" directory. | ||
Latest revision as of 18:32, 9 September 2015
Back to PT Social Media
IMPORTANT: ADF 1.5 or greater is REQUIRED for this application.
Contents
Overview
This guide is to upgrade the PT Social Media from version 1.0 or 1.1 to version 1.2 of the application.
Custom Element Updates
PTSocialMedia Configuration
Add the following new fields to the General Config tab of the ptSocialMedia Configuration element:
- 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: Number (integer)
- Field Name: rebuildFeedCacheInterval
- Field Label: Rebuild Feed Cache Interval
- Required: No
- Properties:
- Maxlength: 10
- Size: 10
- Default Value: 15
Remove the following field from the Facebook API tab of the ptSocialMedia Configuration element:
- Field Name: apiFacebookAPIKey
App Configuration Updates
After the new fields have been added to the PTSocialMedia Configuration element:
- Go to the Social Media App Configuration Manager and click the "Edit Configuration" button.
- When the configuration form opens, add the default values from the list above as values for the new fields.
- Then click "Submit".
- When the configuration page reloads click the "Reset ADF / App Configuration" button.
Application Code
- Rename the directory "/ADF/apps/pt_social_media" to "/ADF/apps/pt_social_media_v1_1".
- Rename the file "/ADF/apps/pt_social_media_v1_1/appBeanConfig.cfm" to "/ADF/apps/pt_social_media_v1_1/appBeanConfig.cfm.old".
- Download PT Social Media v1.2 and copy the extracted files into the "/ADF/apps/pt_social_media/" directory.
New Features
- Social Media Service Feed Data Cache
- Social Media Dashboard Admin Page
Updates
- Follow the v1.2 install guide to build the following admin dashboard page:
Go to the Social Media Dashboard section on the Getting Started page for more information on usage of this page.