[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



I guess I should have gone to specsavers :-)


________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of sf2 <sf2 at ecs.soton.ac.uk>
Sent: 26 November 2013 14:54
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] Re: Version 3.3.12 - changing the front page


Malcolm,

You've put HTML content in your <head> section.....



On 26.11.2013 14:49, Malcolm Bodger wrote:

Hi John,

Yes, I have that css. And if I add:

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

The url: isls-eprints-31.wmin.ac.uk

It shows the text as I want it, but it's not in line with the logo on the left and gives me too much of a top line. And, I guess I should be using the 'archive_name' phrase.

Thanks.
Regards,
Malcolm.



________________________________
From: eprints-tech-bounces at ecs.soton.ac.uk <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of John Salter <J.Salter at leeds.ac.uk>
Sent: 26 November 2013 14:08
To: 'eprints-tech at ecs.soton.ac.uk'
Subject: [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="{$config{frontpage}}" title="{phrase('archive_name')}">
        <img alt="{phrase('archive_name')}" src="{$config{rel_path}}{$config{site_logo}}"/>
    </a>
</div>
<div><a class="ep_tm_archivetitle" href="{$config{frontpage}}"><epc:phrase 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 at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 26 November 2013 12:56
To: 'eprints-tech at 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 at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> <eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk>> on behalf of John Salter <J.Salter at leeds.ac.uk<mailto:J.Salter at leeds.ac.uk>>
Sent: 26 November 2013 12:13
To: 'eprints-tech at 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="{$config{frontpage}}" title="{phrase('archive_name')}">
        <img alt="{phrase('archive_name')}" src="{$config{rel_path}}{$config{site_logo}}"/>
        <epc:phrase ref="archive_name"/>
    </a>
</div>
--------------------------------------
or (no logo):
<div class="ep_tm_site_logo">
    <a href="{$config{frontpage}}" title="{phrase('archive_name')}">
        <epc:phrase ref="archive_name"/>
    </a>
</div>

- I hope I?ve understood your problem!

Cheers,
John

From: eprints-tech-bounces at ecs.soton.ac.uk<mailto:eprints-tech-bounces at ecs.soton.ac.uk> [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Malcolm Bodger
Sent: 26 November 2013 11:09
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at 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="{$config{rel_path}}/favicon.ico" type="image/x-icon"/>
    <link rel="shortcut icon" href="{$config{rel_path}}/favicon.ico" 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="{$config{frontpage}}" title="{phrase('archive_name')}">
          <img alt="{phrase('archive_name')}" src="{$config{rel_path}}{$config{site_logo}}"/>
        </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.

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.


*** 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/
*** EPrints developers Forum: http://forum.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.

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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20131126/a5344932/attachment-0001.html