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: 2011/10/03 15:19 by mrpeters

© 2008-2017 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a member of Software Freedom Conservancy.