⧼vector-jumptocontent⧽

Archives/ARCHIVEID/cfg/lang/en/templates/: Difference between revisions

From EPrints Documentation
Moj (talk | contribs)
No edit summary
Alex-ball (talk | contribs)
Update for EPrints 3.4
 
Line 1: Line 1:
{{dirs}}
{{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

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