User Tools

Site Tools


dev:customizing_ttpac

TTPac Customization Quick-start

CSS

TTPac utilizes CSS throughout to provide easy customization of various elements throughout the OPAC. There are two main CSS files with which you'll want to customize, found in:

/openils/var/web/css/skin/default/opac/style.css
/openils/var/web/css/skin/default/opac/semiauto.css

You might make edits to the CSS to modify the color scheme, text sizes, buttons, etc.

Templates

The templates are the actual Template Toolkit files (similar to HTML/XML) that generates the OPAC. The different OPAC interfaces (My Account, Advanced Search, etc.) are broken down in to various templates which correspond to the different interfaces.

The templates can be found in:

/openils/var/templates/opac

You might edit the various .tt2 files to customize things like the header/footer links, or perhaps to add new code to portions of the OPAC. An example of this, might be to replace the FAQ/Questions buttons on the My Account page to include images/links to databases to which your library subscribes. The templates are also the place to turn to modify strings of text in the OPAC.

Images

Throughout the OPAC, there are many images which can also be customized to suit your customizations.

Should you need to modify any of these, they can be found in:

/openils/var/web/opac/images/
dev/customizing_ttpac.txt · Last modified: 2022/02/10 13:34 by 127.0.0.1

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki

© 2008-2022 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a U.S. 501(c)3 non-profit organization.