Skip to content
This repository has been archived by the owner on Jan 21, 2024. It is now read-only.

Installing the Wordpress plugin

Benjamin Jakobus edited this page Feb 17, 2014 · 12 revisions

This page serves as a guide to developers who want to install the SBTK Wordpress plugin. Note that this is an experimental plugin.

Installing the plugin

There are two ways of installing the plugin; the first (and more tedious) method is described below, and involves you cloning this repository and then manually copying the needed files into place. The second method is easier; just download the latest build and copy the plugin into your Wordpress plugins directory.

Step 1: Clone the SocialSDK repository.

Step 2: Under the Wordpress plugins directory (PATH TO INSTALL DIR/wp-content/plugins/) create a folder called ibm-sbtk. Inside this folder, create a sub folder called core. Inside core, create a sub folder called system.

Step 3: Copy the contents of SocialSDK/php/php-core-1.0/src/ into wordpress/wp-content/plugins/ibm-sbtk/core (exclude /php-core-1.0/src/models/SBTKSettings.php, /php-core-1.0/src/samples/* and /php-core-1.0/src/views/*).

Step 4: Copy the contents of SocialSDK/php/php-core-1.0/src/system/ into wordpress/wp-content/plugins/ibm-sbtk/core/system.

Step 5: Now we deploy the plugin. Copy the contents of SocialSDK/php/wordpress-plugin-1.0/src/ to wordpress/wp-content/plugins/ibm-sbtk/.

Step 6: Replace the core header with the header provided by the plugin: Copy the header.php from SocialSDK/php/wordpress-plugin-1.0/src/views/includes/ into wordpress/wp-content/plugins/ibm-sbtk/core/views/includes/header.php (replacing the existing header.php).

Step 7: Now deploy the front page controller: copy index.php from SocialSDK/php/php-core-1.0/src/ into wordpress/wp-content/plugins/ibm-sbtk/core/

Step 4: Log into your Wordpress administrator page and go to "Plugins" -> "Installed Plugins". Activate the plugin called Social Business Toolkit integration plugin.

Step 5: Go to "Settings" -> "IBM Connect Settings". Ensure that your endpoint is configured correctly. Click "Save".

Step 6: Go to "Appearance" -> "Widgets". Drag the desired SBTK widget onto your page.

Step 7: Done.