17.6. Installation of SOPAC2

17.6.1. Download
17.6.2. Installation
17.6.3. Configuration

Now to the SOPAC software itself:

17.6.1. Download

Download from SVN:

$ cd /chemin/vers/drupal/sites/all/
$ mkdir modules
$ cd modules/
$ svn co http://dobby.darienlibrary.org/svn/sopac/trunk/ sopac

17.6.2. Installation

In Drupal's administration settings, activate the module. Also, enable the dependencies:

  • Profile

  • PHP Filter

  • Path

The Drupal menu should now list these entries.

17.6.3. Configuration

Then go into the settings of SOPAC.

  • Configure the paths to the Locum and Insurge libraries

  • Choose a URL prefix SOPAC, in my "catalog". Create a node with content like:

<?php
print sopac_search_form('both');
print theme('pages_catalog');
  • Check the Input Format "PHP Code"

  • Check Move to front page

  • In URL path settings, set the SOPAC URL prefix you have chosen.

Go to the root of Drupal, a search form will appear.

Remember to empty Drupal's cache when something does not work.

Drupal offers a few blocks, which are not configured by default. You must specify on which page they should appear.