Skip to main content
ExLibris

Knowledge Assistant

BETA
 
  • Subscribe by RSS
  • Back
    Voyager

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. Voyager
    3. Community Knowledge
    4. OPAC: WebVoyage 7 (Tomcat) Numbered Search Results

    OPAC: WebVoyage 7 (Tomcat) Numbered Search Results

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    1. Description
    2. Installation Instructions
    Created By: Jim Robinson
    Created on: 5/14/2019



    [This article was copied from the Voyager Wiki.]

    Description

    Numbers the search results in WebVoyage 7 (Tomcat)

    Installation Instructions

    In ui/[skin]/xsl/pageFacets/resultsFacets.xsl, find this:

    <!-- ## result record ## -->

    <div class="{$classPosition}">

       <xsl:if test="$buttonCount > 0">

       <!-- ## checkbox ## -->

          <div class="resultListCheckBox">

             <input type="checkbox" name="titles" value="{page:value}" id="{page:value}" onClick="selectTitleChkBx(document.getElementById('resultsForm'))">

                <xsl:if test="@selected='true'">

                   <xsl:attribute name="checked">checked</xsl:attribute>

                </xsl:if>

             </input>

          </div>

       </xsl:if>

       <xsl:variable name="checkBoxId">

          <xsl:value-of select="page:value"/>

       </xsl:variable>

    and change it to this (the changes are after </input>):

    <!-- ## result record ## -->

    <div class="{$classPosition}">

       <xsl:if test="$buttonCount > 0">

       <!-- ## checkbox ## -->

          <div class="resultListCheckBox">

             <input type="checkbox" name="titles" value="{page:value}" id="{page:value}" onClick="selectTitleChkBx(document.getElementById('resultsForm'))">

                <xsl:if test="@selected='true'">

                   <xsl:attribute name="checked">checked</xsl:attribute>

                </xsl:if>

             </input>

             <xsl:if test="string-length(//page:element[@nameId='recPointer']/page:value)">

                <xsl:value-of select="position() + //page:element[@nameId='recPointer']"/>

             </xsl:if>

          </div>

       </xsl:if>

       <xsl:variable name="checkBoxId">

          <xsl:value-of select="page:value"/>

       </xsl:variable>

    Numbered Search Results Code

     




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • OPAC: Voyager Sites Running on Linux
      • OPAC: WebVoyage 7 (Tomcat) Sorting Filters in Search Results
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Community Content Type
      Enhancements
      Language
      English
      Product
      Voyager
    2. Tags
      This page has no tags.
    1. © Copyright 2025 Ex Libris Knowledge Center
    2. Powered by CXone Expert ®
    • Term of Use
    • Privacy Policy
    • Contact Us
    2025 Ex Libris. All rights reserved