EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #00455


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

[EP-tech] Re: Branding on EPrints 3.3.6


On Fri, 2012-04-27 at 12:21 +0000, 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.

Hi,

Does this Wiki page help?
http://wiki.eprints.org/w/API:EPrints/Apache/Template

Presumably you want to put something like this inside <body> in the
template:

<body>
<div id="ep_tm_archive_name"><epc:phrase ref="archive_name"/></div>

Which you can style with:
#ep_tm_archive_name {
font-size: 150%;
}

Note! There have been bugs in the directory scanning order in the past,
which may mean your local (archives/...) changes aren't taking effect.
Regardless, if you create a local version you must restart the Web
server for it to take effect.

The load order (or should be) is here:
http://wiki.eprints.org/w/API:EPrints/Repository#template_dirs

/Tim.
__________________________
> 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/

Attachment: signature.asc
Description: This is a digitally signed message part