Difference between revisions of "Web Interface Style and Images"

From EPrints Documentation
Jump to: navigation, search
Line 13: Line 13:
 
Here's where I cheat! I have taken the original files and changed the colour re-saving as the original file name. This can be a little confusing as some of the files contain the colour in the title. Changed files should be saved into the directory : /var/lib/eprints3/archives/yourarchivename/cfg/static/style/images, changes made in the html directory will be overwritten by the generate_static command.
 
Here's where I cheat! I have taken the original files and changed the colour re-saving as the original file name. This can be a little confusing as some of the files contain the colour in the title. Changed files should be saved into the directory : /var/lib/eprints3/archives/yourarchivename/cfg/static/style/images, changes made in the html directory will be overwritten by the generate_static command.
  
Copy edited images to above directory, as user apache run the command;
+
The Site Logo can be replaced be overwritting the sitelogo.gif in /var/lib/eprints3/archives/yourarchivename/cfg/static/images/sitelogo.gif
 +
 
 +
Copy edited images to above directories, as user apache run the command;
  
 
  /var/lib/eprints3/bin/generate_static yourarchivename
 
  /var/lib/eprints3/bin/generate_static yourarchivename
  
 
Images will now be copied into the html directory.
 
Images will now be copied into the html directory.

Revision as of 08:55, 19 December 2006

Style Sheet Changes

All changes to style sheet setting should be made in the directory /var/lib/eprints3/archives/yourarchivename/cfg/static/style/auto, and updated using the generate_static command. Changes made in the html directory will be overwritten.

Style sheets are processed alphabetically, eprints has a local stlye sheet setup called zzz_local.css, any changes can be made in this file, and settings from previous css files will be over writen with values in this file. I use the EditCSS function in Firefox to configure my stlye sheets and copy the modifications directly into this file.

When modifications are completed, as the user apache execute;

/var/lib/eprints3/bin/generate_static yourarchivename

Image Changes

Here's where I cheat! I have taken the original files and changed the colour re-saving as the original file name. This can be a little confusing as some of the files contain the colour in the title. Changed files should be saved into the directory : /var/lib/eprints3/archives/yourarchivename/cfg/static/style/images, changes made in the html directory will be overwritten by the generate_static command.

The Site Logo can be replaced be overwritting the sitelogo.gif in /var/lib/eprints3/archives/yourarchivename/cfg/static/images/sitelogo.gif

Copy edited images to above directories, as user apache run the command;

/var/lib/eprints3/bin/generate_static yourarchivename

Images will now be copied into the html directory.