PT Social Media Site Configuration

From ADF Docs
Jump to: navigation, search

Back to Social Media

Overview

The Social Media App uses a custom element to store site specific configurations.

Most of these configuration fields will not need to be modified from their default values. Although, there are a few fields that the values will need to be customized for your specific install of the application. These fields are be listed below.

Configuration Fields

There are several configuration fields:

General Config Tab

  1. ui_theme - The Social Media app utilizes jQueryUI Themes for styling of buttons, etc. There are some pre-installed themes that come with the ADF in the Thirdparty folder.

Facebook API Tab

  1. apiFacebookAppID - The App ID you receive when you register your App on Facebook
  2. apiFacebookAPIKey - The API Key you receive when you register your App on Facebook
  3. apiFacebookAppSecret - The App Secret you receive when you register your App on Facebook
- Facebook App Registration Instructions

WordPress API Tab

  1. wordPressServiceURL - URL of Blog Index page
  2. wordPressServiceImage - A service image for Blog Index page
  3. apiWordPressFeedSuffix - Suffix for the WordPress Blog RSS feed. ie. '?feed=rss2' or '/feed/' depending how your WordPress site is configured
  4. apiWordPressContentWordLimit - Maximum number of words rendered from the blog post content. Default: 100. Use 0 (zero) to display all.


Note: The other API fields in the configuration element (not listed here) should NOT need to be modified from their default values unless one of the social media services changes their data feed format or feed URL and/or URL parameters.