EPrints Technical Mailing List Archive

Message: #02452


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

[EP-tech] Re: Version 3.3.12 - changing the front page


Try (addition after the logo div) :

<div class="ep_tm_site_logo">
    <a href="" title="{phrase(
'archive_name')}">
        <img alt="{phrase('archive_name')}" src="">    </a>
</div>

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

 

 

In your existing css, you’ve got:

.ep_tm_archivetitle {

    color: #990033;

    float: right;

    font: 40px Arial,Sans-serif;

    text-decoration: none;

}

 

Which might want adding to your 3.3.12 somewhere…

 

Cheers,

John

 

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 26 November 2013 12:56
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: Version 3.3.12 - changing the front page

 

Hi John,

 

If you look at our live eprints: westminsterresearch.wmin.ac.uk

 

The WestminsterResearch appears in bold red on the right in line with the logo on the left.

If you look at my 3.3.12 (isls-eprints-31.wmin.ac.uk) the text on the right was ok but a line below the logo and giving me a very broad top line.

I've made your change and I now have a smaller text with underline and not quite on the far right. Do you think it might need to point to the style sheet?

 

Thanks.

Regards,

Malcolm.

 


From: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> on behalf of John Salter <J.Salter@leeds.ac.uk>
Sent: 26 November 2013 12:13
To: 'eprints-tech@ecs.soton.ac.uk'
Subject: [EP-tech] Re: Version 3.3.12 - changing the front page

 

Hi Malcolm,

The two highlighted ‘archive_name’s in your file:

The first is the <title> of the page (displayed in e.g. browser header bars/bookmarks).

The second is the title for the eprints logo image.

 

Try (logo to the left of the title):

<div class="ep_tm_site_logo">
    <a href="" title="{phrase(
'archive_name')}">
        <img alt="{phrase('archive_name')}" src="">

        <epc:phrase ref="archive_name"/>
    </a>
</div>

--------------------------------------

or (no logo):

<div class="ep_tm_site_logo">
    <a href="" title="{phrase(
'archive_name')}">
        <epc:phrase ref="
archive_name"/>
    </a>
</div>

 

- I hope I’ve understood your problem!

 

Cheers,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 26 November 2013 11:09
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Version 3.3.12 - changing the front page

 

Hi,

Hi,

 

I want to put some text 'WestminsterResearch' on the top right of our home page.

I would expect my .../cfg/lang/en/templates/default.xml  having a mention for the phrase 'archive_name' would do the job, but it doesn't work and I'm having to do it by adding:

 

<div class="ep_tm_archivetitle">
<p>WestminsterResearch</p>
</div>

The problem I'm having is getting it in line with my logo on the left corner. Using the default.xml on my version 3.2.3 it works fine.

 

My xml abilty is below basic. Is there a problem with my phrases?

 

This is the top of my default.xml file:

 

<?xml version="1.0" standalone="no"?>
<!DOCTYPE html SYSTEM "entities.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epc="http://eprints.org/ep3/control">
  <head>
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <title><epc:pin ref="title" textonly="yes"/> - <epc:phrase ref="
archive_name"/></title>
    <link rel="icon" href="" type="image/x-icon"/>
    <link rel="shortcut icon" href="" type="image/x-icon"/>
    <epc:pin ref="head"/>
  </head>
  <body>
    <epc:pin ref="pagetop"/>
    <div class="ep_tm_header ep_noprint">
      <div class="ep_tm_site_logo">
        <a href="" title="{phrase(
'archive_name')}">
          <img alt="{phrase('archive_name')}" src="">        </a>
      </div>

 

Thanks,

Malcolm.

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.

This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system.

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.

This message and its attachments are private and confidential. If you have received this message in error, please notify the sender and remove it and its attachments from your system.