EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #06439
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Autofill date field button
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: Re: [EP-tech] Autofill date field button
- From: Lizz Jennings <E.Jennings@bath.ac.uk>
- Date: Thu, 13 Apr 2017 09:28:41 +0000
In fact EPrints should come with the pop up calendar feature as standard, but it got lost in the Master/3.3 changeover. I have put in a pull request to get the updated functionality in (but it may not be in
a good state (a file from another edit got muddled in there), I’m just not sure if anyone has even looked at it). But I use this in production and it’s good. https://github.com/eprints/eprints/pull/438 Ignore Extras.pm – that was something else. I wasn’t able to change this at an archive level – I had to replace the Date.pm and Time.pm files in perl_lib to get it to work. The JS and CSS files are fine in
the Archive config though. Lizz -- Lizz Jennings BA MSc ACLIP MCLIP (Revalidated 2015) Research Data Librarian (Systems) The Library 4.10, University of Bath, Bath, BA2 7AY UK Ext. 3570 (External 01225 383570) Research Data Management:
http://www.bath.ac.uk/research/data From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of John Salter >(I talked them down from a calendar popup) But why..? The IRStats2 package (that it looks like you're already using) comes with a calendar date-picker - and even defaults to today!? You could possibly even implement it using one phrase and one XHTML workflow field! Does that help at all? Cheers, John From:
eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Matthew Brady Hi All, I have been asked if it is possible to add a button to a date field within the workflow… to allow the field to be auto populated with the current date. (I talked
them down from a calendar popup) I don’t need the button for every date field rendered within the workflow, only this one particular instance…
Any thoughts would be appreciated before I start hacking things too badly ;) Cheers Matt.
_____________________________________________________________
This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.
The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.
The University of Southern Queensland is a registered provider of education with the Australian Government.
(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )
|
- References:
- [EP-tech] Autofill date field button
- From: Matthew Brady <Matthew.Brady@usq.edu.au>
- Re: [EP-tech] Autofill date field button
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Autofill date field button
- Prev by Date: [EP-tech] Antwort: search result ordering does not work for lang<>en
- Next by Date: Re: [EP-tech] Autofill date field button
- Previous by thread: Re: [EP-tech] Autofill date field button
- Next by thread: Re: [EP-tech] Autofill date field button
- Index(es):