Web Interface Style and Images

From EPrints Documentation
Revision as of 09:25, 14 December 2006 by Neilmarj (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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 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.

mkdir /var/lib/eprints3/archives/yourarchivename/cfg/static/style/images

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.