Difference between revisions of "Web Interface Style and Images"

From EPrints Documentation
Jump to: navigation, search
 
Line 11: Line 11:
 
==Image Changes==
 
==Image Changes==
  
Here's where I cheat! I have taken the original files and changed the colour resaving as the original file name. This can be a little confusing as some of the files caontain the colour in the title. Changed files should be saved into a new 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.
 
 
mkdir /var/lib/eprints3/archives/yourarchivename/cfg/static/style/images
 
  
 
Copy edited images to above directory, as user apache run the command;
 
Copy edited images to above directory, as user apache run the command;

Revision as of 08:51, 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.

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

/var/lib/eprints3/bin/generate_static yourarchivename

Images will now be copied into the html directory.