Adding a Custom Banner to Tomcat WebVoyage
Tags: voyager tomcat basic header voyager
, tomcat
, basic
, header
Last Updated: Aug 30, 2011 19:59
- Description
The following describes steps for adding a banner (including a hyperlinked map) to Voyager, which will carry across all pages. The initial set of instructions came from Todd King of Eastern Kentucky University. Additional tweaking provided by Jim Robinson of Tarrant County College. I'm literally just the messenger here. I am currently on Voyager 7.2.2.
- Author: Judy Brink-Drescher
- Additional author(s):
- Institution: Molloy College
- Year: 2011
- License: BSD style
- Short description: Use, modification and distribution of the code are permitted provided the copyright notice, list of conditions and disclaimer appear in all related material.
- Link to terms: [Detailed license terms]
- Skill required for using this code:
Basic: This is more or less a cut and paste operation, but you must have created your banner image and if applicable, an associated map code
State
stable
Programming language
html, xsl, css
Software requirements
Screen captures
Author(s) homepage
Download
Working example
Using the following Ex Libris open interfaces
Changes
Version 1.2 ....
Version 1.1 ....
...
Before you begin...
Be sure to have the configuration code for the map and an image you'd like to use as the banner. Place the banner in the images folder or some other retrievable location. Here's an example of mine from pageFacets/header.xsl:
| XSL is very picky about closing tags, so make sure they are there. Also, all ampersands need to be replaced with |
Installation instructions - As provided by Todd King's Tricked Out Opac pdf in the top section of his document titled "Header"
| Removal of the database name in step one as well as creating custom buttons (e.g. Todd's "ekubuttons") are optional. In my case, I did suppress the database name but I did not create the buttons. Instead, I simply switched the 'call to menuBar' template in pageTools/frameWork.xsl to come before 'buildHeader' |
Note in the map code a div was assigned (make sure it is unique). Modify your css file as follows to wrap it up in a nice little container
| I am using Michael Doran's CSS overwrite solution , otherwise, modify header.css or framwork.css |
| Once I was able to do this, I carried the banner across to all other third party systems: SerialsSolutions, ILLiad, LibGuides etc... |

