Difference between revisions of "Archives/ARCHIVEID/cfg/lang/en/templates/"

From EPrints Documentation
Jump to: navigation, search
m (EPrints Directory Structure/eprints3/archives/ARCHIVEID/cfg/lang/en/templates moved to Archives/ARCHIVEID/cfg/lang/en/templates/)
(Update for EPrints 3.4)
 
(One intermediate revision by one other user not shown)
Line 1: Line 1:
 +
{{dirs}}
 
*'''[[EPrints_Directory_Structure/eprints3|eprints3]]/[[EPrints_Directory_Structure/eprints3/archives|archives]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID|ARCHIVEID]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg|cfg]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/lang|lang]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/lang/en|en]]/templates'''
 
*'''[[EPrints_Directory_Structure/eprints3|eprints3]]/[[EPrints_Directory_Structure/eprints3/archives|archives]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID|ARCHIVEID]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg|cfg]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/lang|lang]]/[[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/lang/en|en]]/templates'''
** '''default.xml''' - The template to use to render web pages for this repository (English Version)
+
** '''default.xml''' - Template used by some plugins to render web pages for this repository
 +
** '''default_internal.xml''' - Fallback template to use to render web pages for this repository; usually symlinked to default.xml (New in EPrints 3.4)
 +
** '''mainonlycss.xml''' - Additional template for very simple pages (no headers or footers, just the page title and content)
  
This directory only contains the default.xml file. This is in case support for additional templates is added in a later version.
+
The files here are only used when rendering pages in English. To use the same template across all languages, put the files in [[EPrints_Directory_Structure/eprints3/archives/ARCHIVEID/cfg/templates|eprints3/archives/ARCHIVEID/cfg/templates/]] instead.
 +
 
 +
This directory does not exist in a fresh installation. You have to create it yourself to override the files in [[EPrints_Directory_Structure/eprints3/lib/templates|eprints3/lib/templates/]].

Latest revision as of 10:54, 10 July 2020

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

  • eprints3/archives/ARCHIVEID/cfg/lang/en/templates
    • default.xml - Template used by some plugins to render web pages for this repository
    • default_internal.xml - Fallback template to use to render web pages for this repository; usually symlinked to default.xml (New in EPrints 3.4)
    • mainonlycss.xml - Additional template for very simple pages (no headers or footers, just the page title and content)

The files here are only used when rendering pages in English. To use the same template across all languages, put the files in eprints3/archives/ARCHIVEID/cfg/templates/ instead.

This directory does not exist in a fresh installation. You have to create it yourself to override the files in eprints3/lib/templates/.