Template Format

From EPrints Documentation
Revision as of 16:37, 6 January 2007 by WikiSysop (Talk | contribs)

Jump to: navigation, search

EPrints uses a template file when rendering all pages to ensure a consistent look and feel. The templates folder contains a default.xml file which contains the normal template. Later versions of EPrints may allow additional templates.

The template file is an HTML document, but may also include EPrints Control elements. Four parameters are passed through - title, page, pagetop, and head - and these may be included using a pin element:

<epc:pin ref="head"/>

The title pin should be placed in the title tags of the HTML document, the page pin somewhere in the body, the pagetop at the start of the body section, and the head within the head tags at the beginning of the file.