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

    tab_sfx, column 2 -- what is it?

    • Article Type: General
    • Product: Aleph
    • Product Version: 18.01

    What does column 2 in tab_sfx refer to?
    Is this the actual image name?
    Is it the name of the image as it resides on the SFX server?
    Why does it not have an extension such as .gif?

    I have created an new SFX button, but I can't figure out how to get the image to display.

    The value of column 2 in tab_sfx is the name of a variable that directs the system to an image. The way this works is as follows. In $alephe_root/www_server.conf, two variables are currently defined for SFX buttons:

    setenv www_f_sfx "<img src=&icon_path/f-sfx.gif border=0 alt='Use SFX services'>"
    setenv www_f_sfx_dim "<img src=&icon_path/f-sfx-dim.gif border=0 alt='No SFX services are available'>"

    These variables give the name of the image and alt text, and either of these can be altered easily in the www_server.conf file. They also include a "redirect variable": &icon_path, explained in KB 8192-9448, but generally referring to the directory $alephe_root/www_f_eng/icon.

    You should be able to create a new image in the icon directory (as above), define a variable for it in www_server.conf, then use the variable name in tab_sfx, column 2.

    • Article last edited: 10/8/2013