[Koha-devel] Opac's interface can change with user's information?

Mike Hafen mdhafen at tech.washk12.org
Mon Jun 25 19:18:23 CEST 2012


We can do something similar in Koha currently, which is to have a custom
css and search limit in an apache virtual host for each library.  I see in
etc/koha-httpd.conf these lines in the opac virtualhost:

 #  Repeat this virtualhost stanza changing the following environment vars
to
#  create multiple OPAC interfaces with custom css and/or search limits:
#  SetEnv OPAC_CSS_OVERRIDE mystyle.css
#  SetEnv OPAC_SEARCH_LIMIT branch:CODE
#  SetEnv OPAC_LIMIT_OVERRIDE 1

The custom css could be used to set icons I believe, and could easily be
used to change the color scheme.

It doesn't change the interface according to the user, but maybe with some
javascript you can redirect a user after they have logged in to the opac
virtual host for their branch.


On Mon, Jun 25, 2012 at 5:32 AM, Robin Sheat <robin at catalyst.net.nz> wrote:

> Op 25-06-12 12:00, Zeno Tajoli schreef:
> > the easy solution to this problem is to install 20 time Koha on your
> > server, (so 20 MysQL d, 20 different user at command line, etc.).
> > Is it possibile to do this with one Koha db ?
> > Out of the box, no.
>
> It's quite possible to do this out of the box. Use the packages, and use
> koha-create to create the libraries you want. However, this isn't so
> great if you want to make it easy to share information between them.
>
> Whether this is the right solution depends on your use cases though.
>
> --
> Robin Sheat
> Catalyst IT Ltd.
> ✆ +64 4 803 2204
> GPG: 5957 6D23 8B16 EFAB FEF8  7175 14D3 6485 A99C EB6D
> _______________________________________________
> Koha-devel mailing list
> Koha-devel at lists.koha-community.org
> http://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : http://www.koha-community.org/
> git : http://git.koha-community.org/
> bugs : http://bugs.koha-community.org/
>


>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: </pipermail/koha-devel/attachments/20120625/6e51e0e3/attachment.htm>


More information about the Koha-devel mailing list