Pamelaware for Drupal is an information cards plugin for the Drupal Content Management System.

Demo: http://pamelaproject.com/pwdrupal

Requirements

You will need the following things to use PW-wp:

  • A static IP address
  • An SSL Certificate
  • A Drupal 6.x CMS environment
  • PHP5
  • php5-mcrypt (a library that contains crypto stuff)

See the Checking PHP Prerequisites page if you aren't sure whether your site uses PHP5 or php5-mcrypt.

See the SSL Certificate Primer if you want more information on SSL Certificates

Preparation

Installation

PamelaWare installation involves a few steps:

Step 1: Put the PamelaWare module into your Drupal modules Directory

Option A: Download Zip File

  • Download the zip file containing version 0.91.1-RC of the Drupal module from the [Pamela Project Drupal Downloads Site]
  • Use ftp or scp to move that zip file onto the server Drupal runs on
  • Unzip the zip file (you will get a directory called "pw_infocard").
  • Place the pw_infocard directory into the following subdirectory:
    <drupal install-dir>/sites/all/modules
    

Option B: Check out the Module from Subversion

  • Go to the sites/all/modules subdirectory of your drupal install and checkout the current version:

svn co https://pamelaproject.com/svn/pw/pwdrupal/tags/pwdrupal-0.91.1-RC/pw_infocard pw_infocard

Step 2: Enable the Module

  1. Login to Drupal as user with admin privileges.
    1. Go to "Administer".
    2. Select "Site building" and then "Modules".
    3. Scroll down to the "PamelaWare Information Card Login" Module
    4. Click the check box to enable the plugin
    5. Save the configuration.

Step 3: Add PamelaWare Block to a Display Area

  1. Go back to the "Administer" menu and again under "Site building" select "Blocks".
  2. Locate "PamelaWare Information Card Module" in the "disabled" section of the page.
  3. Use the dropdown menu to choose a place to display the "purple i" information card login icon. Usually this will either be the left or right sidebar, if you want another placing, you may need to customize the layout (see Customizing the Front Page).
  4. Save the configuration.

Step 3: Configure the Module

  1. On the "Administer" menu under "Site configuration", select "Information Card Settings".
    1. Follow the prompts to ensure that all of the checkboxes are green (usually this means putting in the private key of your website).
      • There is an image below that shows what the certificate information should look like.
    2. We recommend testing your install before you change too much more.
    3. Optionally you can also alter configuration settings to do various things:
      • Turn on debug messages
      • Disallow either personal or managed cards
      • Create a list of issuers that you will accept cards from
      • Change the module to be XHTML compliant
      • *IMPORTANT* choose whether an uninstall of the module will destroy card and option tables (by default it will, because this is the drupal convention).
    4. Save

Step 4: Test the Module

  1. Go to the front page - you should see the standard information card logo displayed - if you have the module installed and set up, clicking on that link should take you to an information card login page.

Example of the Information Card Admin Console

console example with annotations

Congrats, PamelaWare should be installed!