Skip to Main Content

Sirsi Admin

eLibrary Configuration

There are many ways to edit eLibrary. Some are handled in only one place, others may need a combination (i.e. you may need to turn on a environmental variable in order for your images to display) Typically but not always, you will make modifications to both the webserver and the Symphony server.

  • /var/www/html  (Webserver)
  • /s/sirsi/Unicorn/Webcat (Symphony)
  1. Gateway elements - this handles the root bar, searching, and side box contents
  2. Environmental variables (one location for environmental files where the variables are contained - generally have an on/off setting 0 - off 1 - on)
    • /s/sirsi/Unicorn/Webcat (Symphony)
    • You can either use a text editor to edit environmental files or use the Configuration Toolbar (see below)

      ilink.env is the master lists of all editable variables *DO NOT EDIT THIS FILE* this files gets overwritten during upgrades

      system.env is where you make changes. This file should only contain the variables we want to change and changes are made to all environments) Find the variable in ilink.env then copy to system.env and make the necessary changes.

      envn#.env is a local environmental and the # is the policy number for that specific environment. This should also only contain changed variables. 

  3. Images/Lables/Messages 
    • Images (add/edit images in both locations *file structure must be mirrored!!)
      • /var/www/html/WebCat_Images  (Webserver)
      • /s/sirsi/Unicorn/Webcat/Images_custom (Symphony)
      • Envrionmental Variables: IMAGE_PATH, IMG_OTHER, etc.
    • Labels/Messages - use labels if you are a multilingual site or want to reuse variables across pages. Labels define variables
      • edit here: /s/sirsi/Unicorn/Language/Custom
      • Delivered files here: /s/sirsi/Unicorn/Language/Deliv  (DO NOT EDIT!!)
  4. CSS (Make changes on the webserver first!) 
    • /var/www/html/Css (Webserver)
    • /s/sirsi/Unicorn/Webcat/Config/Css (Symphony)
    • Environmental Variable: THEME
  5. JavaScript
    • ​​/var/www/html/Js (Webserver)
    • /s/sirsi/Unicorn/Webcat/Config/Js (Symphony)
  6. Custom pages
    • Delivered Pages: /s/sirsi/Unicorn/Webcatcommon/Pages_deliv
    • Custom Pages: /s/sirsi/Unicorn/Webcat/Pages_custom
    • Environmental Variable: PAGE_SET

 


Test Environment

PRODUCTION:

http://unicorn.shsu.edu/uhtbin/cgisirsi/x/0/0/57/49?user_id=TEST1

/s/sirsi/Unicorn/Webcat/Config/envn14.env

# Defines which cascading style sheet under Config/Css are to be used
THEME|/Css/test/default.css|  #revD only
# Defines which cascading style sheet under Config/Css are to be used when a right-to-left language is in use
THEME_RIGHT_TO_LEFT|/Css/test/default-rtl.css|  #revD only

Delivered Pages: /s/sirsi/Unicorn/Webcatcommon/Pages_deliv/Test_Elib_revD

Custom pages: /s/sirsi/Unicorn/Webcat/Pages_custom/Test_Elib_revD  ** I copied these from Elib_revD** for a complete sandbox, we would copy all the delivered pages to custom pages. 

Test user : TEST1  -- no PIN

 

DEVELOPMENT

http://unicorn-dev.shsu.edu/uhtbin/cgisirsi/x/0/0/57/49?user_id=TEST1

eLibrary Configuration Toolbar

http://unicorn.shsu.edu/uhtbin/cgisirsi/x/0/0/57/49?user_id=ADMIN&password=XXXX

where “XXXX” is the password to the ADMIN user. (You would want to user the username and PIN of whatever user logs into WorkFlows as an administrator.)

Then, once you have done this, you can also see the environment policy that ADMIN is uses.  Let’s say your browser is Internet Explorer.  Click F12 to open up the developer’s tools.  A new box will display and towards the top, it will tell you the name of the environment policy being used, and the environment number.

It is this environment number that you will use when you go to Unicorn/Webcat/Config.  Look for envn#.env (where “#” ) is the environment number. This is the envn#.env file that you can plug in various settings in order to test out changes you may want to make to eLibrary.  No one would ever see these changes unless they logged in as ADMIN.

TO MAKE CHANGES TO THE LIVE eLIBRARY - edit settings under System Administrator 

TO MAKE CHANGES TO THE TEST eLIBRARY - edit settings under World Wide Web Server Access (TEST)

Test: http://unicorn-dev.shsu.edu/uhtbin/cgisirsi/x/0/0/57/49?user_id=ADMIN&password=XXXX

 

Suggested changes

Change the wording for Exact Search

More options to get back to the Library homepage

Have all the searches available on every page

Look at languages in the drop-down and every list

Make reserve search more user friendly.

make online content button look more like other buttons

 

Online Content Button

Image saved here: 

/var/www/html/WebCat_Images/English/Special/Link
/s/sirsi/Unicorn/Webcat/Images_custom/English/Special/Link

Referenced here:

/s/sirsi/Unicorn/Webcat/Config
ilink.env
system.env

URL_IMG_CONTENT|online content 1.gif|

can navigate to the directory and type: grep URL_IMG_CONTENT * to see all instances

NOTE: Capitalization matters - file name has to exact.

Hiding Availability Statement

CSS should be able to hide it since there are selectors assigned to that tag:

 

My Account

1. Turn on Gateway element in Gateway Policy (iLink)

  • change element status to available for My Account folder.  (Disable PIN change, SMS option, and Change of Address

 

Newton Gresham Library | (936) 294-1614 | (866) NGL-INFO | Ask a Question | Share a Suggestion

Sam Houston State University | Huntsville, Texas 77341 | (936) 294-1111 | (866) BEARKAT
© Copyright Sam Houston State University | All rights reserved. | A Member of The Texas State University System