Changing the Voyager Tomcat OPAC search results page icons
- Product: Voyager
- Relevant for Installation Type: Multi-Tenant Direct, Dedicated-Direct, Local, TotalCare
Question
How do we add or make changes to the search results page icons (graphics) that display in the titles list.
Answer
1) Place an image inside of the images folder in /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/en_US/ to correspond to whatever you wish to create. There are no restrictions on this image except for the dimensions.
2) Look for pageProperties.xml in xsl/contentLayout, and find this section of code within the file and modify it as is appropriate:
<!-- ## This section defines the text and the icon to use (for results list icons) for bibFormat ## -->
<bibFormats>
<bibFormat type="aa" icon="icon_book.gif">Book</bibFormat>
<bibFormat type="ab" icon="icon_serial.gif">Periodical</bibFormat>
<bibFormat type="ac" icon="icon_pamphlet.gif">Book</bibFormat>
<bibFormat type="ad" icon="icon_book.gif">Book</bibFormat>
<bibFormat type="am" icon="icon_book.gif">Book</bibFormat>
....etc.
The two-digit format type (e.g., "am") is what's stored in the Bib Leader "Type of Record" and "Bibliographic Level" (character positions 06 and 07); the icon is the image file stored within the images folder; and the actual text of the tag is what will display on mouse over.
For more information see the WebVoyáge Architecture Overview and Configuration Models, Chapter 36.
- Article last edited: 19-Feb-2021