Skip to main content
ExLibris
  • Subscribe by RSS
  • Ex Libris Knowledge Center

    OPAC: Remove Main (Top Level) Navigation Tabs

    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.

    We have several databases for our special collections that only display bibliographic records and have no circulation functionality. We needed to remove a lot of the default tabs, buttons and other out-of-the-box options as a result. This includes the Main or Top Level Navigation Tabs (sometimes called Buttons)

    Remove Top Level Navigation Tabs (Buttons)

    To remove a top navigation option edit /m1/voyager/xxxdb/tomcat/vwebv/context/vwebv/ui/your_SKIN/xsl/userTextConfigs/pageProperties.xml

    In the "Header Tab Display Order" section, comment out the tabs you would not like to display, and they won't be generated. The following example will remove the "My List" tab. 

    Use the xml convention for commenting out:

    <!--

    Stuff to comment out

    -->

    Code Example

    Example of commenting out the MyList tab (aka: "button") 

    <!-- ## Header Tab Display Order ## -->

    <headerTabDisplayOrder>

    <tab name="page.header.buttons.search.button">

    <highlight

    pages="

    page.searchBasic

    page.searchAdvanced

    page.searchSubject

    page.searchAuthor

    page.searchCourseReserveData

    "/>

    </tab>

    <tab name="page.header.buttons.mySearches.button">

    <highlight

    pages="

    page.mySearches

    "/>

    </tab>

    <!-- ## Example to remove the MyList button: 05-19-2008

    <tab name="page.header.buttons.myList.button">

    <highlight

    pages="

    page.myList

    "/>

    </tab>

    -->

    <tab name="page.header.buttons.myAccount.button">

    <highlight

    pages="

    page.myAccount

    page.myAccount.personalInfo

    page.myAccount.editPreferences

    page.myAccount.changePin

    "/>

    </tab>

    </headerTabDisplayOrder>




    • Was this article helpful?