Difference between revisions of "PT Social Media Management"

From ADF Docs
Jump to: navigation, search
Line 46: Line 46:
 
##Click Save
 
##Click Save
  
 +
===Twitter===
 +
#From the Custom Script element interface under the Twitter tab, click the "Edit" icon.
 +
#Enter the following text into the Explicit Module path:
 +
##/ADF/apps/pt_social_media/customcf/manage_twitter_accounts_keywords_header.cfm
 +
#From the Datasheet element interface, click the "Datasheet" icon.
 +
#From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
 +
#Enter the following information and then click "Next":
 +
##Name: Twitter Accounts and Keywords View
 +
##Private: unchecked
 +
##Default View: checked
 +
##Description: View to manage the all Twitter Accounts and Keywords
 +
##Datasheet Source: Form Result/Custom Element Sheet
 +
##Click "Next"
 +
#From the Datasheet Source dialog choose the "Twitter Accounts Keywords" custom element and click "Next"
 +
#From the Datasheet Columns Dialog select the columns UNIQUEID, TWITTERACCOUNTKEYWORD, TYPE and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
 +
#You will be brought to the Datasheet View page; click "Close" to return to your page.
 +
#You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
 +
#Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
 +
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
 +
###/ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
 +
###or
 +
###/ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
 +
##Click Finish or Save.
 +
##In the Header field, switch the text to 'Edit/Delete'
 +
##Click Finish or Save
 +
#Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
 +
##In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
 +
###/ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
 +
## Click Finish or Save
 +
## In the Header field, switch the text to 'Active'
 +
## Click Finish
 +
# Close the Edit Column window.
 +
# If you are using the Edit/Delete datasheet-module '/1.0/edit-delete.cfm'
 +
##Go back to the Datasheet element interface, select the Layout button
 +
##Uncheck the "Allow JavaScript data sorting" checkbox
 +
##Click Save
  
The Profile element is a global custom element. Data for global custom elements can be easily managed with Datasheets. The following sections describe how to configure a simple management page.
 
 
== Steps ==
 
# Create a page from the Base Plus One titled 'Manage Profiles' with the page name 'index' in the ''/webadmin/profile/'' subsite.
 
# In the body of the page, add a Custom Script element.
 
# From the Custom Script element interface, click the ''Edit'' icon.
 
# Enter the following text into the Explicit Module path: ''/ADF/apps/pt_profile/customcf/profile_admin_ds.cfm''
 
# From the Datasheet element interface, click the ''Datasheet'' icon.
 
# From the ''Datasheet Views'' dialog, select the ''Click here to create a new datasheet view'' text.
 
# Enter the following information and then click ''Next'':
 
## Name: All Profiles
 
## Private: unchecked
 
## Default View: unchecked
 
## Description: View to manage all of the profiles
 
## Datasheet Source: Form Result/Custom Element Sheet
 
# From the Datasheet Source dialog, choose the ''Profile'' custom element and click ''Next''.
 
# From the Datasheet Columns dialog, choose a few columns from the Available Columns list and move them to the Selected Columns list.  Select the following fields in this order ''UniqueID'', ''UserID'', ''firstname'', ''lastname'', and ''email'' as the first field to display in the table and then click ''Finish''.
 
# You will be brought to the Datasheet View page. Click ''Close'' to return to your page.
 
# You will now see the datasheet element on this page. Click the Datasheet element interface icon again and this time choose ''Edit Columns''.
 
# Select the column field ''UniqueID'' and then the edit button. 
 
# In the Render Handler field, select the ''Change'' button.  Enter the following value into the ''Explicit Module'' text box: ''/ADF/apps/pt_profile/datasheet-modules/datasheet-action-edit-delete-view.cfm''
 
#  Click ''Finish''.
 
# In the Header field, clear out the text and leave the text field blank.  Click ''Finish''.
 
 
# Publish this page.
 
# Publish this page.
  
[[Category:Profile]]
+
[[Category:Social Media]]

Revision as of 02:35, 8 July 2011

Overview

The Manage Social Media page is a page that contains the data management datasheets for the four social media custom elements. This page is build using a tabbed interface with one tab for each social media service datasheet.

Steps

  1. Create a page from the Base Plus One (or a Web Admin) template titled 'Manage Social Media' with the page name 'index' in the /webadmin/socialmedia/ subsite.
  2. In the main content area of the page, add a Custom Script element.
  3. From the Custom Script element interface, click the "Edit" icon.
  4. Enter the following text into the Explicit Module path:
    1. /ADF/apps/pt_social_media/customcf/manage_social_media_tabs.cfm

Facebook

  1. From the Custom Script element interface under the Facebook tab, click the "Edit" icon.
  2. Enter the following text into the Explicit Module path:
    1. /ADF/apps/pt_social_media/customcf/manage_facebook_pages_header.cfm
  3. From the Datasheet element interface, click the "Datasheet" icon.
  4. From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
  5. Enter the following information and then click "Next":
    1. Name: Facebook Pages View
    2. Private: unchecked
    3. Default View: checked
    4. Description: View to manage the all Facebook Pages
    5. Datasheet Source: Form Result/Custom Element Sheet
    6. Click "Next"
  6. From the Datasheet Source dialog choose the "Facebook Pages" custom element and click "Next"
  7. From the Datasheet Columns Dialog select the columns UNIQUEID, FBPAGENAME, FBPAGELINK and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
  8. You will be brought to the Datasheet View page; click "Close" to return to your page.
  9. You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
  10. Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
    1. In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
      1. /ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
      2. or
      3. /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
    2. Click Finish or Save.
    3. In the Header field, switch the text to 'Edit/Delete'
    4. Click Finish or Save
  11. Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
    1. In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
      1. /ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
    2. Click Finish or Save
    3. In the Header field, switch the text to 'Active'
    4. Click Finish
  12. Close the Edit Column window.
  13. If you are using the Edit/Delete datasheet-module '/1.0/edit-delete.cfm'
    1. Go back to the Datasheet element interface, select the Layout button
    2. Uncheck the "Allow JavaScript data sorting" checkbox
    3. Click Save

Twitter

  1. From the Custom Script element interface under the Twitter tab, click the "Edit" icon.
  2. Enter the following text into the Explicit Module path:
    1. /ADF/apps/pt_social_media/customcf/manage_twitter_accounts_keywords_header.cfm
  3. From the Datasheet element interface, click the "Datasheet" icon.
  4. From the "Datasheet Views" dialog, click the "Add Datasheet View" link.
  5. Enter the following information and then click "Next":
    1. Name: Twitter Accounts and Keywords View
    2. Private: unchecked
    3. Default View: checked
    4. Description: View to manage the all Twitter Accounts and Keywords
    5. Datasheet Source: Form Result/Custom Element Sheet
    6. Click "Next"
  6. From the Datasheet Source dialog choose the "Twitter Accounts Keywords" custom element and click "Next"
  7. From the Datasheet Columns Dialog select the columns UNIQUEID, TWITTERACCOUNTKEYWORD, TYPE and FEEDACTIVE from the Available Columns list and move them to the Selected Columns list and then click "Finish" or "Save".
  8. You will be brought to the Datasheet View page; click "Close" to return to your page.
  9. You will see the datasheet element on this page now. Click the Datasheet element interface icon again and this time choose "Edit Columns".
  10. Within the Datasheet View Column Properties dialog choose the UNIQUEID column and click "edit":
    1. In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
      1. /ADF/extensions/datasheet-modules/1.0/edit-delete-native-CS6.cfm
      2. or
      3. /ADF/extensions/datasheet-modules/1.0/edit-delete.cfm
    2. Click Finish or Save.
    3. In the Header field, switch the text to 'Edit/Delete'
    4. Click Finish or Save
  11. Now within the Datasheet View Column Properties dialog choose the FEEDACTIVE column and click "edit":
    1. In the Render Handler field, select the 'Change' button. Enter the following value into the Explicit Module text box:
      1. /ADF/extensions/datasheet-modules/1.0/value-to-yes-no.cfm
    2. Click Finish or Save
    3. In the Header field, switch the text to 'Active'
    4. Click Finish
  12. Close the Edit Column window.
  13. If you are using the Edit/Delete datasheet-module '/1.0/edit-delete.cfm'
    1. Go back to the Datasheet element interface, select the Layout button
    2. Uncheck the "Allow JavaScript data sorting" checkbox
    3. Click Save
  1. Publish this page.