Access Keys:
Skip to content (Access Key - 0)
My Area (Access Key - 2)


Toggle Sidebar
Your Rating: Results: PatheticBadOKGoodOutstanding! 2 rates
Labels:
elympics elympics Delete
opac opac Delete
searching searching Delete
redirection redirection Delete
redirect redirect Delete
linking linking Delete
bibliographic bibliographic Delete
record record Delete
webvoyage webvoyage Delete
marc marc Delete
voyager voyager Delete
intermediate intermediate Delete
Enter labels to add to this page:
Please wait 
Looking for a label? Just start typing.

WebVoyage 7 (Tomcat) additional redirects (using specific subfields).

Tags: , , , , , , , , , , ,
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:

  1. Author
  2. Title
  3. Subject
  4. 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:

  1. preText -any text you want to appear before the subfield data as the link text
  2. postText - any text you want to appear after the subfield data as link text
  3. altText- any "alternative text" you might want to use as a tooltip (displays when mouse hovers over the link, using standard html code)
  4. 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...


Page Attachments

No files have been attached to this page.

Added by Tom Pasley on Jan 17, 2010 22:56, last edited by Tom Pasley on Feb 22, 2010 23:47

Adaptavist Theme Builder Powered by Atlassian Confluence