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

Malcolm Bodger M.Bodger at westminster.ac.uk
Tue Nov 26 12:55:49 GMT 2013


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 <eprints-tech-bounces at ecs.soton.ac.uk> on behalf of John Salter <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] On Behalf Of Malcolm Bodger
Sent: 26 November 2013 11:09
To: 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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20131126/7629b48a/attachment-0001.html 


More information about the Eprints-tech mailing list