<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Hi Malcolm,<br>
<br>
On EPrints 3.3.7: <br>
<br>
Edit
/opt/eprints3/archives/<id>/cfg/lang/en/templates/default.xml<br>
<br>
if the file above doesn't exist, create the necessary directories,
and copy the file from /opt/eprints3/lib/templates/default.xml to
the above location.<br>
<br>
You should see something like, see my comments in bold:<br>
<br>
<tt><?xml version="1.0" standalone="no"?><br>
<!DOCTYPE html SYSTEM "entities.dtd"><br>
<html xmlns=<a class="moz-txt-link-rfc2396E" href="http://www.w3.org/1999/xhtml"><font color="red"><b>MailScanner has detected a possible fraud attempt from "www.w3.org" claiming to be</b></font> "http://www.w3.org/1999/xhtml"</a>
xmlns:epc=<a class="moz-txt-link-rfc2396E" href="http://eprints.org/ep3/control"><font color="red"><b>MailScanner has detected a possible fraud attempt from "eprints.org" claiming to be</b></font> "http://eprints.org/ep3/control"</a>><br>
<head><br>
.. ignore ..<br>
</head><br>
<body><br>
<b> <!-- content starts: --></b><br>
<epc:pin ref="pagetop"/><br>
<b> <!-- header starts: --></b><br>
<div class="ep_tm_header ep_noprint"><br>
<b> <!-- the logo/picture: --></b><br>
<div class="ep_tm_site_logo"><br>
<a href="{$config{frontpage}}"
title="{phrase('archive_name')}"><br>
<img alt="{phrase('archive_name')}"
src="{$config{rel_path}}{$config{site_logo}}"/><br>
</a><br>
</div><br>
<br>
<b> <!-- The menu bar: --></b><br>
<ul class="ep_tm_menu"><br>
<li><br>
<a href="{$config{http_url}}"><br>
<epc:phrase ref="template/navigation:home"/><br>
</a><br>
</li><br>
.. etc ..</tt><br>
<br>
So simply add your archive_name above the "menu bar", something
like:<br>
<br>
<tt><div class="ep_tm_archivetitle_box"><a
class="ep_tm_archivetitle"
href="{$config{frontpage}}"><epc:phrase
ref="archive_name"/></a></div></tt><br>
<br>
If you want to adjust the font/colour/size etc, edit the style (in a
css file) "div.ep_tm_archivetitle_box" or "a.ep_tm_archivetitle".<br>
<br>
Once you're done, reload Apache and check your changes. Let me know
if you still have troubles after that.<br>
<br>
Kind regards,<br>
Seb<br>
<br>
<br>
On 27/04/12 13:21, Malcolm Bodger wrote:
<blockquote
cite="mid:58410CE9A66A1E4AAC23EC8E98F253B7063CEF@DB3PRD0702MB101.eurprd07.prod.outlook.com"
type="cite">
<pre wrap="">In my /templates/default.xml the <head> section appears to be for the section below the menu bar.
I want to add my archive name to the top right above the menu bar, which I can do if I edit the index.xpage, but I'm not sure how to give it the correct font and colour, so I thought using the default.xml might be easier, but sadly no.
Malcolm.
________________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> [<a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>] on behalf of Ian Stuart [<a class="moz-txt-link-abbreviated" href="mailto:Ian.Stuart@ed.ac.uk">Ian.Stuart@ed.ac.uk</a>]
Sent: 27 April 2012 11:33
To: <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>
Subject: [EP-tech] Re: Branding on EPrints 3.3.6
I suspect that 3.3 is different to 3.2, and the documentation I wrote
was from working on my 3.2 archives.
Perhaps someone in the EPrints team can clarify (and annotate the
wiki/documentation as appropriate)
On 27/04/12 11:26, Malcolm Bodger wrote:
</pre>
<blockquote type="cite">
<pre wrap="">Hi Matthäus,
Thanks for this.
The documentation says to put it in the /templates/default.xml file, which is where I have it, but it appears to make no difference.
Thanks.
Regards,
Malcolm.
________________________________________
From: <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a> [<a class="moz-txt-link-abbreviated" href="mailto:eprints-tech-bounces@ecs.soton.ac.uk">eprints-tech-bounces@ecs.soton.ac.uk</a>] on behalf of Matthäus Zylka [<a class="moz-txt-link-abbreviated" href="mailto:zylkam@uni-koeln.de">zylkam@uni-koeln.de</a>]
Sent: 25 April 2012 09:15
To: <a class="moz-txt-link-abbreviated" href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>
Subject: [EP-tech] Re: Branding on EPrints 3.3.6
Hi Malcom,
you'll have to edit the
../<archive_name>/cfg/lang/en/static/index.xpage File and use the
<epc:phrase ref="archive_name" /> phrase for the archive name.
I recommend you to read through the following wiki pages:
- <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/w/Branding_with_confidence">http://wiki.eprints.org/w/Branding_with_confidence</a>
- <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/w/Branding,_the_next_level">http://wiki.eprints.org/w/Branding,_the_next_level</a>
Cheers,
Matthäus
2012/4/20 Malcolm Bodger<a class="moz-txt-link-rfc2396E" href="mailto:M.Bodger@westminster.ac.uk"><M.Bodger@westminster.ac.uk></a>:
</pre>
<blockquote type="cite">
<pre wrap="">Hi,
I'm trying to place the archive_name on the top of my page above the menu
bar and I've tried editing the template/default.xml and the zzz_local.ccs,
but makes no difference. Can anyone tell me the correct file to edit to
place some simple text, or the phrase archive_name, in the empty space above
the menue bar?
</pre>
</blockquote>
</blockquote>
<pre wrap="">
--
Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.
<a class="moz-txt-link-freetext" href="http://edina.ac.uk/">http://edina.ac.uk/</a>
This email was sent via the University of Edinburgh.
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
The University of Westminster is a charity and a company limited by guarantee. Registration number: 977818 England. Registered Office: 309 Regent Street, London W1B 2UW.
*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" href="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="http://wiki.eprints.org/">http://wiki.eprints.org/</a>
</pre>
</blockquote>
<br>
</body>
</html>