Difference between revisions of "Branding/Logos"

From EPrints Documentation
Jump to: navigation, search
(→‎Static pages)
(→‎Dynamic pages)
 
(3 intermediate revisions by the same user not shown)
Line 19: Line 19:
 
This is slightly different for each part of the site...
 
This is slightly different for each part of the site...
  
−
=== [[EPrints_Glossary#Static page Static pages]] ===
+
=== [[EPrints_Glossary#Static page | Static pages]] ===
 
run generate_static
 
run generate_static
  
−
===Abstract pages===
+
=== [[EPrints_Glossary#Abstract page | Abstract pages]]===
  
 
run generate_abstracts
 
run generate_abstracts
  
−
===View pages===
+
=== [[EPrints_Glossary#EPrint view page | View pages]] ===
  
 
run generate_views
 
run generate_views
  
−
===Dynamic pages===
+
=== [[EPrints_Glossary#Dynamic Pages | Dynamic pages]] ===
  
 
run force_config_reload or resart the webserver
 
run force_config_reload or resart the webserver

Latest revision as of 09:01, 14 October 2026

Manual Sections

There are several different types of page in the eprints WebsiteInterface and they are generated in different ways. See WebsiteInterface for an explanation.

Every page on eprints is wrapped in the site template. This can be found at /opt/eprints2/archives/myid/cfg/template-en.xml

Changing the Template

Edit /opt/eprints2/archives/myid/cfg/template-en.xml

Make your changes. Be careful not to remove the <pin> elements as this is how eprints knows where to insert information.

Note that this file is XML so all tags must be closed correctly.

Cause the new template to be applied

TIP: If you want to see the new template in situ without waiting to update all the webpages then run "generate_abstracts myid 66" (or some other existing abstract page) and see the change on that one page.

This is slightly different for each part of the site...

Static pages

run generate_static

Abstract pages

run generate_abstracts

View pages

run generate_views

Dynamic pages

run force_config_reload or resart the webserver