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

From ADF Docs
Jump to: navigation, search
(Overview)
Line 3: Line 3:
 
== Overview ==
 
== Overview ==
 
The following guide is upgrading from v1.2 to v2.0.
 
The following guide is upgrading from v1.2 to v2.0.
 +
 +
== Custom Element Updates ==
 +
 +
=== PTSocialMedia Configuration ===
 +
Add the following new fields to the '''Twitter API''' tab of the ptSocialMedia Configuration element:
 +
#a Tweet URL text field
 +
##Type: text
 +
##Field Name:  apiTwitterTweetURL
 +
##Field Label:  apiTwitterTweetURL
 +
##Description: Twitter Tweet page URL. Use {{screenname}} for the screen name variable. And use {{twitterid}} for the twitter data identifier variable.
 +
##Required: No
 +
##Properties:
 +
###Size: 60
 +
###Default Value: http://twitter.com/{{screenname}}/status/{{twitterid}}
  
 
== Application Code ==
 
== Application Code ==

Revision as of 22:20, 5 March 2013

Back to PT Social Media

Overview

The following guide is upgrading from v1.2 to v2.0.

Custom Element Updates

PTSocialMedia Configuration

Add the following new fields to the Twitter API tab of the ptSocialMedia Configuration element:

  1. a Tweet URL text field
    1. Type: text
    2. Field Name: apiTwitterTweetURL
    3. Field Label: apiTwitterTweetURL
    4. Description: Twitter Tweet page URL. Use Template:Screenname for the screen name variable. And use Template:Twitterid for the twitter data identifier variable.
    5. Required: No
    6. Properties:
      1. Size: 60
      2. Default Value: http://twitter.com/Template:Screenname/status/Template:Twitterid

Application Code

  1. Rename directory "/ADF/apps/pt_socialmedia/" to "/ADF/apps/pt_socialmedia_v1_2/".
  2. Rename file "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm" to "/ADF/apps/pt_socialmedia_v1_2/appBeanConfig.cfm.old".
  3. Download the PT Social Media v2.0 and exported into the "/ADF/apps/pt_socialmedia/" directory.

Reset the ADF for the server and site.

Site Customizations

During the application implementation customizations may have been created. Check under the "/_cs_apps/pt_socialmedia/" directory under you site to see if any customizations exists. If you do have site customizations, you'll need to update these accordingly.