EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
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
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Editing abstract page
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 9 Oct 2013 09:54:28 +0100
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 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> 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
|
- References:
- [EP-tech] Re: Editing abstract page
- From: Derek Lawrie <d.lawrie@nua.ac.uk>
- [EP-tech] Re: Editing abstract page
- Prev by Date: [EP-tech] boxes and views
- Next by Date: [EP-tech] Re: boxes and views
- Previous by thread: [EP-tech] Re: Editing abstract page
- Next by thread: [EP-tech] Re: Editing abstract page
- Index(es):