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: Adding Exit Session Navigation

    OPAC: Adding Exit Session Navigation

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    Created By: Laura Guy
    Created on: 5/14/2019



    [This article was copied from the Voyager Wiki.]

    Introduction

    This relates to the "New" Tomcat WebVoyage that is included in Voyager 7.0.1 and forward.

    Our users were accustomed to having an "Exit" button available to them on the "Classic" interface. In public lab situations we encourage them to use it when they leave a workstation. To add a similiar functionality to the "New" WebVoyage you can add the following code to the appropriate two files. See the screenshot example at the bottom of this document.

    Top Navigation Exit Button

    1) To add the top option edit /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/your_SKIN/xsl/pageFacets/header.xsl

    Edit the BOTTOM of the file to include the "adds an exit button" code in between the two comment lines:

    <!-- This modification adds an exit button to the header tabs YYYY/MM/DD -->

                      <li class="off" title="Exit Session">

                         <a href="exit.do" name="Exit Button">

                            <span>Exit Session</span>

                         </a>

                      </li>

    <!-- End modification to add an exit button -->

     

                   </ul>

                </div>

             </xsl:for-each>

          </div>

       </xsl:for-each>

    </xsl:template>


    *REMEMBER to update the comments section at the top of the file!*

    Bottom Navigation Exit Button

    2) To add the bottom option edit footer.xsl in the same directory as the header.xsl file

    Add the "extra footer tabs" section between the comments as shown below. Change the URL appropriately.

    <xsl:template name="buildFooter">

     

    <xsl:for-each select="/page:page/page:pageFooter">

    <div id="pageFooter">

    <xsl:for-each select="page:tabs[@nameId='page.footer.buttons']">

     

    <div id="footerTabs" title="{$footerText/footerTabs}">

    <a name="navFooter"></a>

    <h2 class="navFooter"><xsl:value-of select="$footerText/footerTabs"/></h2>

    <ul class="navbar">

    <\!-\- extra footer tabs \-->

    <li>

    <a href="http://www.mines.edu/library"  title="Exit Session">Exit Session</a>

    </li>

    <\!-\- end of extra footer tabs \-->

    <xsl:for-each select="$Configs/pageConfigs/footerTabDisplayOrder/tab">

    <xsl:variable name="tempName" select="@name"/>

    <xsl:variable name="newWin" select="@clickOpensNewWindow"/>

    <xsl:call-template name="buildFooterTab">

    <xsl:with-param name="displayTab" select="$tempName"/>

    <xsl:with-param name="newWin" select="$newWin"/>

    </xsl:call-template>

    </xsl:for-each>

    </ul>

    </div>

     

    </xsl:for-each>

     

    <div id="libraryLink">

    <span>

    <xsl:call-template name="buildLinkType">

    <xsl:with-param name="eleName"&nbsp; select="'page.footer.library.link'"/>

    </xsl:call-template>

    </span>

    </div>

    *REMEMBER to update the comments section at the top of the file!

    Important Caveat

    Future changes in the UI may break these instructions.




    Report
    View article in the Exlibris Knowledge Center
    1. Back to top
      • OPAC: Add Search Results Icons for Multiple Items and Multiple Holdings
      • OPAC: Building an External Voyager Webpage Search Form
    • 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