Home Contact Archives
Validate the HTML of this page

Tomcat WebVoyáge

Adding a New Skin

Be sure to make backup copies of files before editing.

{skin}  == your new skin directory name
{xxxdb} == your db name

cd /m1/voyager/{xxxdb}/tomcat/vwebv/context/vwebv/ui
cp -pR en_US {skin}

The following appears to be deprecated, due to changes in the Apache config file, post field test...

Add these entries to the VirtualHost in /m1/shared/apache2/conf/ActivatedVirtualHosts/{xxxdb}_vwebv_httpd.conf
 and then restart Apache

        Alias /vwebv/ui/{skin}/css/      "/m1/voyager/{xxxdb}/tomcat/vwebv/context/vwebv/ui/{skin}/css/"
        Alias /vwebv/ui/{skin}/images/   "/m1/voyager/{xxxdb}/tomcat/vwebv/context/vwebv/ui/{skin}/images/"
        Alias /vwebv/ui/{skin}/jscripts/ "/m1/voyager/{xxxdb}/tomcat/vwebv/context/vwebv/ui/{skin}/jscripts/"
        Alias /vwebv/ui/{skin}/htdocs/   "/m1/voyager/{xxxdb}/tomcat/vwebv/context/vwebv/ui/{skin}/htdocs/"

        <Directory "/m1/voyager/{xxxdb}/tomcat/vwebv/ui/{skin}/css/">
                Options MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
        <Directory "/m1/voyager/{xxxdb}/tomcat/vwebv/ui/{skin}/images/">
                Options MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
        <Directory "/m1/voyager/{xxxdb}/tomcat/vwebv/ui/{skin}/jscripts/">
                Options MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>
        <Directory "/m1/voyager/{xxxdb}/tomcat/vwebv/ui/{skin}/htdocs/">
                Options MultiViews
                AllowOverride None
                Order allow,deny
                Allow from all
        </Directory>


Replace any occurences of "en_US" (as a skin reference) with {skin} in these files in 
/m1/voyager/{xxxdb}/tomcat/vwebv/context/vwebv/ui/{skin}

  internal.properties
  webvoyage.properties
  holdingsInfo.vbib.properties
  holdingsInfo.vcit.properties
  holdingsInfo.zbib.properties
  holdingsInfo.zcit.properties