EPrints Technical Mailing List Archive

Message: #03523

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

[EP-tech] Re: Different templates for abstract pages

Excellent work John,
That is likely to be very relevant to me in the near future - might save me fighting with trying to update the default citation and summary_page citation within a plugin!


-----Original Message-----
From: John Salter [mailto:J.Salter@leeds.ac.uk]
Sent: 10 October 2014 11:48
To: eprints-tech@ecs.soton.ac.uk
Subject: [EP-tech] Different templates for abstract pages

Yesterday I discovered that EPrints has an easy way to control which template is used to render the summary page/abstract page of an item. There isn't any mention of this in the code or documentation - but I think it's a really neat bit of functionality.

I've written it up briefly here: http://wiki.eprints.org/w/Abstract_page_template - basically you just return an extra value from the 'eprint_render' function.

Hopefully this will be useful to someone somewhere!


*** 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 Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England & Wales and a charity registered in Scotland (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.