Installation of SOPAC2

Now to the SOPAC software itself:

Download from SVN:

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

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

  • Profile

  • PHP Filter

  • Path

The Drupal menu should now list these entries.

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.