Branding.pl

From EPrints Documentation
Revision as of 12:33, 27 July 2010 by Pm705 (talk | contribs)
Jump to: navigation, search

EPrints 3 Reference: Directory Structure - Metadata Fields - Repository Configuration - XML Config Files - XML Export Format - EPrints data structure - Core API - Data Objects


Back to cfg.d

Branding.pl is where your site logo is defined. By default the site logo appears in in the top right hand corner of your template. You can change where it appears by modifying your repository style sheet or by changing your repository template.

You can also set a repository theme. This a set of styles which change the look and feel of your repository.

Example

  1. Replace this with your logo, or just replace the file in
  2. cfg/static/images and run generate_static

$c->{site_logo} = "/images/sitelogo.gif";

  1. A theme overrides some of the styles and images used by
  2. eprints. A theme must exist as a directory in
  3. /opt/eprints3/lib/themes
  1. $c->{theme} = "green"