Adding a prefix to the results display in TomCat OPAC
Tags: opac
, results
, display
, xsl
, webvoyage
, voyager
, intermediate
, basic
Last Updated: Dec 06, 2010 22:21
- Description
If you want to add a label-like prefix to lines 4 or 5, this Code Contribution shows how this can be done. Note that the line must be consistently used to display one type of data (e.g. call number) for the labels to be effective. - Author: Tom Pasley
- Additional author(s):
- Institution: Universal College of Learning
- Year: 2010
- 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 to intermediate - relatively straightforward.
State
Either 'Stable' or 'In Development'
Programming language
XML/XSL
Software requirements
Just TomCat OPAC.
Screen captures

Download
No code to download - just copy and paste from the code samples as indicated.
Working example
http://
Using the following Ex Libris open interfaces
Text...
Changes
Version 1.2 ....
Text...
Version 1.1 ....
Text...
Version 1.0
Code as shared on Voyager-L
Release notes
Installation instructions
Save a backup copy and then edit resultsFacets.xsl from /m1/voyager/YOUR_DATABASE_NAMEdb/tomcat/vwebv/context/vwebv/ui/SKIN_NAME/xsl/pageFacets/
Locate this text:
| You can create multiple prefixes for each line... (except Line 1). In this example, Line 4 is always a call number, so I've added the prefix of "Shelf number:
|
When you've finished creating your code, prepend it to the code identified above.
Then insert the finished code:
Comments
Please add a comment to let me know how this works for you!


1 Comment
comments.show.hideDec 13, 2010
Laura Guy
WAYYYYYY!!!!!