Skip to main content
ExLibris

Knowledge Assistant

BETA
  • Subscribe by RSS
  • Back
    MetaLib

     

    Ex Libris Knowledge Center
    1. Search site
      Go back to previous article
      1. Sign in
        • Sign in
        • Forgot password
    1. Home
    2. MetaLib
    3. Knowledge Articles
    4. Removing Language Icon (or Any Other Action Icon)

    Removing Language Icon (or Any Other Action Icon)

    1. Last updated
    2. Save as PDF
    3. Share
      1. Share
      2. Tweet
      3. Share
    No headers
    • Article Type: General
    • Product: MetaLib
    • Product Version: 4

    Description:
    How can I remove the language icon?

    Resolution:
    in MetaLib v4:
    (see METALIB VERSION 4.1.X Customization Guide, 15 Removing an Action Icon)
    To remove one of the action icons functions, such as Change Portal, Change Language, Login, or Help from the MetaLib navigation bar thereby disabling users from accessing these functions, follow this step:
    Every action icon in the navigation bar has a different ID. The IDs are:
    #actionIconsLang: for Change Language
    #actionIconsEnv: for Change Portal
    #actionIconsLogin: for Login
    #actionIconsLogout: for Logout AND End Session (both)
    #actionIconsHelp: for Help
    All this selectors have the display property set to "inline". In order to hide a module, set the value of display to "none".

    In order to ONLY remove the End Session icon, the change must be made, as described below (in MetaLib v3), in the navigation-guest file. Comment the following rows:
    <li id="actionIconsLogout">
    <a href="&server_vir?func=file&amp;file_name=end-session-confirm&amp;back_func=$5000" title="//End session\\" accesskey="e" onclick="javascript:loadmenu('&server_vir?func=file&amp;file_name=end-session-confirm', 270, 150); return false;">//v_end_session\\<span class="ActionText">//End Session\\</span></a>
    </li>

    To restore a removed action icon, change the display value to "inline" for the previously removed icon and save metalib.css.
    To change the icon into text, see SKB-16384-11137.

    in MetaLib v3:
    In order to remove the list of languages from the user interface, edit the two files: navigation and navigation-guest.
    Find the "menu-lng" section in the file.
    Comment out the menu line that refers to “menu-lng”:
    <!-- <A HREF="javascript.void(0)" onclick="return wrapContent(event, this.href, 0, 0, '<IFRAME NAME=frame SRC=&server_vir?func=menu-lng WIDTH=110 HEIGHT=73 BORDER=0 FRAMEBORDER=0 FRAMESPACING=0 scrolling=no></IFRAME>',110)" onmouseover="document.language.src='&icon_path_&lng/v-language_on.gif'" onmouseout="document.language.src='&icon_path_&lng/v-language.gif'">//v_lng\\</A>-->


    • Article last edited: 10/8/2013
    View article in the Exlibris Knowledge Center
    1. Back to top
      • Removing "Change Environment" button from guest's user interface
      • Removing the blank certificate pop-up in /V in IE browser when using SSL.
    • Was this article helpful?

    Recommended articles

    1. Article type
      Topic
      Content Type
      Knowledge Article
      Language
      English
      Product
      MetaLib
    2. Tags
      1. 4
      2. contype:kba
      3. Prod:MetaLib
      4. Type:General
    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