EPrints Technical Mailing List Archive
Message: #05541
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Modifying Latest Additions
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Modifying Latest Additions
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Wed, 6 Apr 2016 08:20:04 +0000
Hi, To change the day to a date, you'll need to look at these lines: https://github.com/eprints/eprints/blob/3.3/cgi/latest#L64-L77 To change what it is looking for (to work from modified date rather than made-live date), you'll need to change this: https://github.com/eprints/eprints/blob/3.3/cgi/latest#L38 to look at the 'lastmod' field rather than the 'datestamp' field. Hope that gets you started! Cheers, John -----Original Message----- From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Michael Street Sent: 05 April 2016 21:17 To: eprints-tech@ecs.soton.ac.uk Subject: [EP-tech] Modifying Latest Additions Hi, I'm trying to modify the Latest Additions page to have it do two things. 1) I already modified it to show items from the last 6 months but it currently only shows the day that something was added. I would like it to show the full date. 2) I would like it show when an item is modified as well, not just new. I believe it had that functionality in previous versions. Thanks, Mike Street IDIS, UIT, York University *** 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/
- References:
- [EP-tech] Errors after Shibboleth login
- From: "Funk, Nelli" <nelli.funk@ulb.tu-darmstadt.de>
- [EP-tech] Modifying Latest Additions
- From: Michael Street <mstreet@yorku.ca>
- [EP-tech] Errors after Shibboleth login
- Prev by Date: [EP-tech] Modifying Latest Additions
- Next by Date: [EP-tech] OR2016 keynotes and accepted contributions announced; Early bird deadline is April 13th
- Previous by thread: [EP-tech] Modifying Latest Additions
- Next by thread: [EP-tech] Errors after Shibboleth login
- Index(es):