Adding a link to the Front Page
Adding a Link to the Front Page
Top Menu
To add a link to the top menu you must edit the default.xml file in the configurtion directory.
vi /var/lib/eprints3/archives/yourarchivename/cfg/lang/en/templates/default.xml
I have added a link to Browse by Person.
After editing, as the apache user run the command;
/var/lib/eprints3/bin/generate_static yourarchivename
Editing the Main Menu
To add a new menu, or edit a link in the main menu you must edit the index.xpage file :
vi /var/lib/eprints3/archives/yourarchivename/cfg/lang/en/static/index.xpage
I have changed the Browse link to point at all views :
<a href="{$config{base_url}}/view/">Browse Repository</a>
Browse the items in the repository by subject.
After editing, as the apache user run the command;
/var/lib/eprints3/bin/generate_static yourarchivename