EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03370
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Latest Additions
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Latest Additions
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Thu, 07 Aug 2014 17:48:00 +0100
Hi Seb,
A slightly simpler approach: On your page: <div id="fplatest"/> <script type="text/_javascript_"> new Ajax.Updater( 'fplatest', '/cgi/latest_tool', { parameters: { "mode":"fplatest", "mainonly":"yes" } } ); </script> In your local configuration (archives/<id>/cfg/cfg.d/latest_modes.pl): $c->{latest_tool_modes} = { default => { citation => "result" }, fplatest => { citation => "result", max => 3 }, }; That will display the last 3 items, rendered using the "result.xml" citation. (an other) Seb On 07/08/14 17:42, Enio Carboni wrote:
|
- References:
- [EP-tech] Latest Additions
- From: Sebastian Nozzi <sebastian.nozzi@ist.ac.at>
- [EP-tech] Re: Latest Additions
- From: Enio Carboni <enio.carboni@gmail.com>
- [EP-tech] Latest Additions
- Prev by Date: [EP-tech] Re: Latest Additions
- Next by Date: [EP-tech] Farewell (?)
- Previous by thread: [EP-tech] Re: Latest Additions
- Next by thread: [EP-tech] Re: Latest Additions
- Index(es):