WebVoyage 7 (Tomcat) additional redirects (using specific subfields).
Tags: elympics
, opac
, searching
, redirection
, redirect
, linking
, bibliographic
, record
, webvoyage
, marc
, voyager
, intermediate
Last Updated: Feb 22, 2010 23:47
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 paste 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=84200
Changes
Planned
I would like to merge the functionality of the WebVoyage 7 (Tomcat) additional redirects with this code, but haven't yet worked out how.
Version 1.0 - 21 January 2010
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.
There is also a change required for the displaycfg.xml for each of the fields you want to specify the subfields for.
Installation instructions
Backup/Save a working copy of your skin\xsl\contentLayout\displaydisplay.xsl
Backup/Save a working copy of your skin\xsl\contentLayout\configsdisplaycfg.xml
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:
Additionally, to specify the subfields, you need to add an additional option to your displaycfg.xml for each of the fields you will be adding the linking for:
Known issues
None yet! ![]()
Comments
Text...

