EPrints Technical Mailing List Archive

Message: #02261


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

[EP-tech] Re: Editing abstract page


Hi,

I think what you might want to do is have your default template used for the system-generated (i.e. abstract, view) pages and then use a different template for the static pages.

Take a look at: http://wiki.eprints.org/w/Template_Format,

Adding an <xpage:template> elemet might help.

 

You can also specify a template specific to a view – see http://wiki.eprints.org/w/Views.pl

 

Having said that, you may well be able to do something in the ~/archives/ARCHIVEID/cfg/cfg.d/eprint_render.pl file - $session->get_repository->…something, but I’m not quite sure what (search for template in  ~/perl_lib/EPrints/Repository.pm).

 

For the thumbnails, more recent versions of EPrints should allow this.

 

HTH,

John

 

From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Derek Lawrie
Sent: 09 October 2013 08:55
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Re: Editing abstract page

 

 

I'm presuming I have to edit the "pin" output (<epc:pin ref="page"/>) to be able to customize the output of an abstract (or any dynamic page), but I don't know if this is a good idea? 

Should I avoid editing the pins?

 

Thanks

Derek

 

From: Derek Lawrie <d.lawrie@nua.ac.uk>
Reply-To: Eprints <eprints-tech@ecs.soton.ac.uk>
Date: Tuesday, October 8, 2013 3:35 PM
To: Eprints <eprints-tech@ecs.soton.ac.uk>
Subject: [EP-tech] Editing abstract page

 

 

Hi

Still trying to get my head around the structure of ePrints.

If I want to edit the template for only abstract pages, how would I go about that?

Can I just create an "abstract" page (xpage?) in my template?

It is currently using my template on all pages, which is cool, just would like to lay things out slightly differently on a couple of pages.

I understand the static pages and editing their page content, but would be more interested in uniquely styling the abstract currently.

Also is it possible to pull thumbnails into the abstract without a plugin like Kultur?

 

Many thanks

Derek


Rated top Specialist Arts Institution in the UK (National Student Survey 2013) and best Specialist Institution in Art and Design (Complete University Guide 2014)

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the University.

This email and any files sent with it are intended only for the named recipient and may be confidential. If you are not the named recipient please email the sender immediately then delete this message. You should not disclose the content, distribute or retain any copies of this message.


Norwich University of the Arts,
Francis House,
3-7 Redwell Street,
Norwich, NR2 4SN.
Tel: 01603 610561
Fax: 01603 615728
www.nua.ac.uk

NUA Business Limited
Registered office:
Francis House,
3-7 Redwell Street,
Norwich, NR2 4SN.
Registered in England & Wales number 3001912


Rated top Specialist Arts Institution in the UK (National Student Survey 2013) and best Specialist Institution in Art and Design (Complete University Guide 2014)

Internet communications cannot be guaranteed to be secure or error-free as information could be intercepted, corrupted, lost, destroyed, arrive late or incomplete, or contain viruses. Therefore, we do not accept responsibility for any errors or omissions that are present in this message, or any attachment, that have arisen as a result of e-mail transmission. If verification is required, please request a hard-copy version. Any views or opinions presented are solely those of the author and do not necessarily represent those of the University.

This email and any files sent with it are intended only for the named recipient and may be confidential. If you are not the named recipient please email the sender immediately then delete this message. You should not disclose the content, distribute or retain any copies of this message.


Norwich University of the Arts,
Francis House,
3-7 Redwell Street,
Norwich, NR2 4SN.
Tel: 01603 610561
Fax: 01603 615728
www.nua.ac.uk

NUA Business Limited
Registered office:
Francis House,
3-7 Redwell Street,
Norwich, NR2 4SN.
Registered in England & Wales number 3001912