ࡱ > #` 0 % bjbjmm 7N $ $ $ $ $ $ $ 8 @+ @+ @+ @+ \ + D 8 Rr @ + L 8, 8, 8, 8, - - - q q q q q q q $ s h u q $ - - - - - q $ $ 8, 8, r 0 0 0 - 6 $ 8, $ 8, q 0 - q 0 0 M3 $ $ 3 8, + XB @+ I. e3 q "r 0 Rr m3 , v / v 3 v $ 3 8> - - 0 - - - - - q q 0
- - - Rr - - - - 8 8 8 d 8 8 8 8 8 8 $ $ $ $ $ $
HYPERLINK "http://www.exlibrisgroup.com" INCLUDEPICTURE "http://www.exlibrisgroup.com/template/images/company_logo.gif" \* MERGEFORMATINET
How to set up separate PDS login pages per Aleph base PDS Institute
Yoel Kortick
This document may be considered a supplement to the document Patron Directory Services v 1.3.
There are four sections here.
Steps one to four discuss general Aleph background.
Steps five to seven briefly discuss PDS Institute setup (within the context of this document).
Steps eight to nine discuss the Sign-In option.
Steps ten to twelve discuss the My Library Card section.
In this document we focus on the Aleph setup. For details of the PDS setup under directory $aleph_dev/pds see document Patron Directory Services v 1.3.
General Aleph Background
ONE
In the examples here we will make separate and different PDS login pages for two separate Aleph logical bases on the server. These Aleph logical bases correspond to PDS Institutes. The logical bases with which we will deal will be HIL and MED.
TWO
The above logical bases are defined in Aleph $alephe_tab/tab_base.lng as follows:
! 1 2 3 4 5 6 7 8 9
!!!!!!!!!!!!!!!!!!!!-!-!!!!!!!!!!!!!!!!!!!!-!!!!!-!!!!!-!!!!!-!!!!!-!-!!!!!!!!!>
HIL Humanities Library HIL USM01 USM01 Y wsl=hil
MED Medicine Library MED USM01 USM01 Y wsl=med
THREE
The server is setup to use PDS:
il-aleph02-18(1) USM01-YOELK>>grep ^PDS-AWARE $alephe_tab/tab100
PDS-AWARE=Y
il-aleph02-18(1) USM01-YOELK>>
FOUR
Each of the above bases may be accessed via the following URLs
For base HIL:
HYPERLINK "http://139.222.130.223:8998/F/?func=find-b-0&local_base=HIL" http://il-aleph02.corp.exlibrisgroup.com:8991/F/?func=find-b-0&local_base=HIL
For base MED:
HYPERLINK "http://139.222.130.223:8998/F/?func=find-b-0&local_base=MED" http://il-aleph02.corp.exlibrisgroup.com:8991/F/?func=find-b-0&local_base=MED
General PDS Background
FIVE
Under $aleph_dev/pds (also known as pdsroot) a directory htlform exists with a directory for institute-med and institute-hil. Note that the directory name is in lower case. First the directory is created and then the contents of directory calling_system-aleph is copied to institute-med and institute-hil
il-aleph02-18(1) USM01-YOELK>>cd $aleph_dev/pds/html_form
il-aleph02-18(1) USM01-YOELK>>ls
CVS/ calling_system-aleph/ global/ icon/ meta-tags.pds
il-aleph02-18(1) USM01-YOELK>>mkdir institute-med
il-aleph02-18(1) USM01-YOELK>>mkdir institute-hil
il-aleph02-18(1) USM01-YOELK>>cp -p calling_system-aleph/* institute-med/
il-aleph02-18(1) USM01-YOELK>>cp -p calling_system-aleph/* institute-hil/
SIX
Under each directory institute-med and institute-hil there is a file login. Here the files differ as follows (the difference is only textual and not in configuration):
il-aleph02-18(1) USM01-YOELK>>cd $aleph_dev/pds/html_form/
il-aleph02-18(1) USM01-YOELK>>diff institute-med/login institute-hil/login
35c35
<
The Ex Libris International Medical Library
---
> The Humanities Library
SEVEN
Under $aleph_dev/pds/conf_table/ the following two tab_service files exist:
il-aleph02-18(1) USM01-YOELK>>cd $aleph_dev/pds/conf_table/
il-aleph02-18(1) USM01-YOELK>>ls -lrt tab_service.* | egrep 'med|hil'
-rw-rw-r-- 1 aleph exlibris 593 Nov 8 19:16 tab_service.med
-rw-rw-r-- 1 aleph exlibris 593 Nov 8 19:16 tab_service.hil
Sign In from web OPAC
EIGHT
The link to the login page for each of these bases appears in the files:
$alephe_root/www_f_eng/head-1-nobor-ill-02-pds-hil (for base HIL)
And
$alephe_root/www_f_eng/head-1-nobor-ill-02-pds-med (for base MED)
Here is the link to the Sign-In page in each html page. The specific link and the reference to the institute name should appear in the url as follows. Note that this is for the Sign In section and not for the My Library Card section.
il-aleph02-18(1) USM01-YOELK>>cd $alephe_root/www_f_eng
il-aleph02-18(1) USM01-YOELK>>grep login head-1-nobor-ill-02-pds-med
il-aleph02-18(1) USM01-YOELK>>grep login head-1-nobor-ill-02-pds-hil
NINE
Here we see that it works.
Now from base MED (Medical Library) we click Sign-in to Login
And we get the page for the Medical library
Now from base HIL (Humanities Library) we click Sign-in to Login
And we get the page for the Humanities library
My Library Card
TEN
In step eight above we had different and very specific URLs in the sign-in section of head-1-nobor-ill-02-pds-med and head-1-nobor-ill-02-pds-hil. For the My Library Card section we will leave the links as they are, and instead we will determine the institute via the pds-login page in $alephe_root/www_f_lng.
The My Library Card section of head-1-nobor-ill-02-pds appears as follows in the official version:
My Library Card
|
ELEVEN
Because there is no institute parameter in the My Library Card section of head-1-nobor-ill-02-pds we need to determine the institute name via the pds-login file:
Here is the standard pds-login page in comparison with base specific pds-login pages. Note that we designate the institute hard coded instead of $0200. We can use base-specific pages here because we have defined this in column four of $alephe_tab/tab_base.lng.
il-aleph02-18(1) USM01-YOELK>>grep "var url" pds-login
var url = '&server_pds?func=load-login&calling_system=aleph&institute=$0200&url=&pds_backlink?$0100';
il-aleph02-18(1) USM01-YOELK>>grep "var url" pds-login-med
var url = '&server_pds?func=load-login&calling_system=aleph&institute=MED&url=&pds_backlink?$0100';
il-aleph02-18(1) USM01-YOELK>>grep "var url" pds-login-hil
var url = '&server_pds?func=load-login&calling_system=aleph&institute=HIL&url=&pds_backlink?$0100';
il-aleph02-18(1) USM01-YOELK>>:
Thus a separate pds-login page should be made for each base, and in the pds-login page of each base the base suffix from tab_base.lng should be hard coded.
TWELVE
Here we see that it works.
Now from base MED (Medical Library) we click My Library Card when we have not yet logged in
And we get the page for the Medical Library
Now from base HIL (Humanities Library) we click My Library Card when we have not yet logged in
And we get the page for the Humanities library
Note:
After a user has already logged in the system uses file head-1-bor-ill-02 from $alephe_root/www_f_lng to display the link to My Library Card. The link here should appear the same as it does in head-1-nobor-ill-02-pds (and this is default after installation). This it should appear as follows:
My Library Card
|
, - . * I J K U Y Z b h i v {
弪嘔uqmimimqmiemeaeae]e] h, h hat= h > h8 hSm hSm h. OJ QJ ^J h0g h/ h. 5\ h. h/ #h. B*CJ OJ QJ ^J aJ ph]]] #h/ B*
CJ OJ QJ ^J aJ ph j ,j h/ B*
CJ OJ QJ U^J aJ ph j #h/ B*CJ OJ QJ ^J aJ ph]]] ,j h/ B*CJ OJ QJ U^J aJ ph]]] h*9P $ K i /
j
k
$ $a$gd > gdSm
&