[OPEN-ILS-GENERAL] Customizing OPAC for each library in consortium

Jeff Davis jdavis at sitka.bclibraries.ca
Wed Jul 8 22:44:57 EDT 2015


Hi Eva,

At Sitka we have separate skins for each of the libraries in our
consortium, each with its own domain name.  To make this work, our
Apache configuration includes virtual host entries for each skin, more
or less as described in the documentation here:

http://docs.evergreen-ils.org/2.8/_how_to_override_templates.html

See the section "Apache configuration for each virtual host (eg.conf)"
at the bottom of that page.  The OILSWebTemplatePath variable
specifies which skin to use for each virtual host.  Looking at those
examples, anyone who visits http://br1.concat.ca would see the OPAC
skin for BR1, which uses the template files located at
/openils/var/templates_BR1.  In this way, the skin you see is
determined by what URL you use; it doesn't depend on whether you are
logged in or not.

To specify a default location for each skin, you can use the
"physical_loc" environment variable in your Apache config.  For
example, if BR1 had a library ID of 4, you could add this line to the
virtual host block for BR1:

    SetEnv physical_loc 4

Hope that helps!
Jeff


> From: Cerninakova Eva <cernin at jabok.cz>
> To: Evergreen Discussion Group
> 	<open-ils-general at list.georgialibraries.org>
> Subject: [OPEN-ILS-GENERAL] Customizing OPAC for each library in
> 	consortium
> Message-ID:
> 	<CALycvwNJW9v8U076-GbuP54PKha7Y5WkKvk6DSxLh=yZiW8rmg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hi all,
> 
> We are currently creating our first tiny Evergreen consortium, and I have a
> question concerning the  OPAC settings.
> 
> Is there a possibility to customize the OPAC differently for each library
> in consortium?
> The desired functionality is something like this:
> 
>    1. When patron from Library1 opens the link to catalog
>    - the default search library on the catalog homepage  is set to
>       "Library1"
>       - the OPAC homepage is customized just for Library1 (i. e. patron
>       sees only the information related  to  Library1,  maybe logo of Library1
>       etc.).
>    2. Similarly when patron from Library2 opens the link to catalog - the
>    default search library on the catalog homepage  is set to "Library2" etc.
> 
> I know how to create the custom TPAC templates directory and how to set the
> template overriding in Apache, but as I understand it, the custom template
> for each library is applied only when patron is logged in to OPAC.
> 
>  Is there a possibility to customize catalog pages without logging in?
> (According to several Evergreen consortia  catalogs I have examined it
> seems to me that this is possible. But how?)
> 
> Could you please give me a hit, how to do it?
> 
> 
> Thanks a lot.
> 
> Eva
> 
> 
> 
> 
> 
> 
> 
> ---
> Mgr. Eva Cerniňáková
> cernin at jabok.cz
> Tel. +420 211 222 409
> 
> Knihovna Jabok
> http:/knihovna.jabok.cuni.cz <http://knihovna.jabok.cz>
> Tel.  +420 211 222 410
> 
> Jabok - Vyšší odborná škola sociálně pedagogická a teologická
> Salmovská 8, 120 00 Praha 2

-- 
Jeff Davis
Lead Evergreen Specialist
BC Libraries Cooperative


More information about the Open-ils-general mailing list