EPrints Technical Mailing List Archive

Message: #00453


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

[EP-tech] Re: {Disarmed} Re: Re: Branding on EPrints 3.3.6


Hi Seb,

 

Yes it works, I now have my WestminsterResearch archive name on the right hand side. But, it appears to take up two lines, do I need to remove a text box?

 

http://isls-eprints-31.wmin.ac.uk/

 

Thanks,

Malcolm.


From: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Sebastien Francois [sf2@ecs.soton.ac.uk]
Sent: 27 April 2012 13:58
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] {Disarmed} Re: Re: Branding on EPrints 3.3.6

Hi Malcolm,

On EPrints 3.3.7:

Edit /opt/eprints3/archives/<id>/cfg/lang/en/templates/default.xml

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.

You should see something like, see my comments in bold:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE html SYSTEM "entities.dtd">
<html xmlns=MailScanner has detected a possible fraud attempt from "www.w3.org" claiming to be "http://www.w3.org/1999/xhtml" xmlns:epc=MailScanner has detected a possible fraud attempt from "eprints.org" claiming to be "http://eprints.org/ep3/control">
  <head>
.. ignore ..
  </head>
  <body>
    <!-- content starts: -->
    <epc:pin ref="pagetop"/>
    <!-- header starts: -->
    <div class="ep_tm_header ep_noprint">
    <!-- the logo/picture: -->
      <div class="ep_tm_site_logo">
        <a href="" title="{phrase('archive_name')}">
          <img alt="{phrase('archive_name')}" src="">         </a>
      </div>

      <!-- The menu bar: -->
      <ul class="ep_tm_menu">
        <li>
          <a href="">             <epc:phrase ref="template/navigation:home"/>
          </a>
        </li>
.. etc ..


So simply add your archive_name above the "menu bar", something like:

<div class="ep_tm_archivetitle_box"><a class="ep_tm_archivetitle" href="" ref="archive_name"/></a></div>

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".

Once you're done, reload Apache and check your changes. Let me know if you still have troubles after that.

Kind regards,
Seb


On 27/04/12 13:21, Malcolm Bodger wrote:
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: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Ian Stuart [Ian.Stuart@ed.ac.uk]
Sent: 27 April 2012 11:33
To: eprints-tech@ecs.soton.ac.uk
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:
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: eprints-tech-bounces@ecs.soton.ac.uk [eprints-tech-bounces@ecs.soton.ac.uk] on behalf of Matthäus Zylka [zylkam@uni-koeln.de]
Sent: 25 April 2012 09:15
To: eprints-tech@ecs.soton.ac.uk
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:

- http://wiki.eprints.org/w/Branding_with_confidence
- http://wiki.eprints.org/w/Branding,_the_next_level

Cheers,
Matthäus

2012/4/20 Malcolm Bodger<M.Bodger@westminster.ac.uk>:
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?
--

Ian Stuart.
Developer: ORI, RJ-Broker, and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

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: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/
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: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

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.