]> git.evergreen-ils.org Git - Evergreen.git/blob - docs/RELEASE_NOTES_NEXT/OPAC/bootstrap-opac.adoc
LP#1778972: add small clarification to bootstrap opac release notes
[Evergreen.git] / docs / RELEASE_NOTES_NEXT / OPAC / bootstrap-opac.adoc
1 New Bootstrap-based OPAC
2 ^^^^^^^^^^^^^^^^^^^^^^^^
3
4 This release includes a new experimental OPAC with a cleaner, more modern design.
5
6 To enable the new OPAC design, open the _/etc/apache2/eg_vhost.conf_ file.
7
8 Find the following line:
9
10 ------------------------------------------------------------------------------
11 PerlAddVar OILSWebTemplatePath "/openils/var/templates"
12 ------------------------------------------------------------------------------
13
14 Add the following line directly below it:
15
16 ------------------------------------------------------------------------------
17 PerlAddVar OILSWebTemplatePath "/openils/var/templates-bootstrap"
18 ------------------------------------------------------------------------------
19
20 Be sure that, if you have any local customizations, that they are referenced below
21 this line.  This way, your customizations will still appear in the new OPAC design
22 (although they may need to be adjusted to better fit the new style).
23
24 You can also turn on the new OPAC for some virtual hosts only, by adding it to the
25 appropriate virtual host entry.  Be sure to reference the OILSWebTemplatePath for
26 the `templates-bootstrap` directory before referencing any local customizations
27 used by that virtual host.
28
29 To emphasize, the new OPAC skin is considered experimental for 3.6.x. There
30 are some discrepancies between its functionality and the functionality
31 present in the original "TPAC" skin. The Evergreen community aims to
32 resolve those discrepancies and make the Bootstrap skin become the default
33 OPAC for the Spring 2021 release (though the original TPAC skin will still
34 be available). Using the Bootstrap skin in production for 3.6 is at your own risk.