EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #03376
< 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: Sebastian Nozzi <sebastian.nozzi@ist.ac.at>
- Date: Fri, 08 Aug 2014 14:27:26 +0200
Hi Enio, Hi Sebastien, thanks for your help and suggestions.I was scared about the output of "latest_tool?n=5&mainonly=yes" when looking at it in a separate window. But it turns out, in the context of an already existing page it was exactly what I needed.
At the end, I solved it like this: --- 8< ---------------------------- <h1 class="ep_tm_pagetitle" style="text-align: left">Latest Uploads</h1> <div id="latest_uploads" style="margin-top: 1em"></div> <script type="text/javascript"> <!-- jQuery(document).ready(function(){ var onSuccess = function(html) { var target = jQuery("#latest_uploads"); target.append(html); }; var url = "cgi/latest_tool?n=5&mainonly=yes"; jQuery.get(url, {}).done(onSuccess); }); --> </script> --- 8< ---------------------------- Cheers, Sebastian
- 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: Farewell (?)
- Next by Date: [EP-tech] Re: Farewell (?)
- Previous by thread: [EP-tech] Re: Latest Additions
- Next by thread: [EP-tech] Farewell (?)
- Index(es):