WebVoyage 7 (Tomcat) additional redirects
Tags: intermediate
, voyager
, marc
, webvoyage
, record
, bibliographic
, linking
, redirect
, redirection
, searching
, opac
, elympics
Last Updated: Feb 25, 2010 00:57
Description
This XSL template will allow extra linking within the OPAC based on data in the MARC tags.Author: Tom Pasley
Institution: UCOL Library
Year: 2009
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:
Intermediate
State
Stable
Programming language
XSL
Software requirements
TomCat (not the Classic version) of WebVoyage
Screen captures
The section outlined in red below is providing links using this additional code.

Author(s) email
t.pasley\no spam@ucol.ac.nz
Download
there are no downloads - simply copy and past from the examples below. If you have problems with the code getting munged, then email me.
Working example
http://libcat.ucol.ac.nz/vwebv/holdingsInfo?bibId=124802
Changes
Version 1.2 - 15 January 2010
Significant revision of code - removes a parameter, closer match to existing redirection links. Also handles multiple sets of field data.
Version 1.1 - 22 December 2009
Actually implemented the altText option, so it will work as a tooltip, (using both "alt" and "title" options), so should display a generic tooltip under most circumstances.
If you want standard links to multiple sources, it should be easy enough to copy and modify this code to direct the links to another target, (such as an OpenURL resolver-type service, target database, or Syndetics).
Version 1.0 - 21 December 2009
Original release
Release notes
Currently on version 7.0.4, we have only 4 redirects:
- Author
- Title
- Subject
- Call number (DDC/LC)
This template will allow any links to be created for searches on the OPAC, in a similar way to the regular redirectOn option:
- although the syntax and setup is more advanced/less sysadmin friendly.
There are 4 options which are required:
- preText -any text you want to appear before the subfield data as the link text
- postText - any text you want to appear after the subfield data as link text
- altText- any "alternative text" you might want to use as a tooltip (displays when mouse hovers over the link, using standard html code)
- newSearchCode - the new search key you want to use (such as GKEY, etc). This code has to be defined in your searching options.
Installation instructions
Backup/Save a working copy of your skin\xsl\contentLayout\displaydisplay.xsl
Insert the following just after the end of the template called buildCoverImageLinks.
To find this, search for
and find the next set of comment lines
and paste the following after the comment line:
Info sample:
To make use of this linking, find the outputDisplayData template which starts with these lines
and paste code similar to this in there:
Known issues
None yet! ![]()
Comments
Text...

