EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #10111
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
Re: [EP-tech] Modification of Upload type
- To: <eprints-tech@ecs.soton.ac.uk>, zen zenitram <quickfire28@gmail.com>
- Subject: Re: [EP-tech] Modification of Upload type
- From: David R Newman <drn@ecs.soton.ac.uk>
- Date: Wed, 7 May 2025 08:09:13 +0100
Hi Zen,
There are two parts to select boxes in EPrints workflows, the label and the value. The label you can see displayed in your screenshot (e.g. Text, Slideshow, Image, etc.). These are set using phrases. Specifically ones that start "document_typename_". If you just want to change what is displayed then you can edit, in the case of "Text" the phrase document_typename_text in your "Phrase Editor" (under the "Config. Tools" tab on the Admin page).
However, if you want to add extra options or don't want the value saved as "text", (even if it will be displayed as something else because this may cause future confusion), you will need to edit EPRINTS_PATH/lib/namedsets/document, (it is best not to edit this file directly but copy it to your archive's cfg/namedsets/ directory and edit the copy there), and add the new values you want there. You will need to add the new phrases required by these extra options. You can either edit your archive's cfg/lang/en/phrases/local.xml from the command line or you the Phrase Editor in your repository's web interface to add these new phrases. If you added the new upload type value 'database', then the new phrase would need to be document_typename_database.
Regards
David Newman
On 07/05/2025 6:46 am, zen zenitram
wrote:
CAUTION: This e-mail originated outside the University of Southampton.CAUTION: This e-mail originated outside the University of Southampton.Good day!
Can I modify the upload type?
Attached is the sample
Like changing the word "text" to any word that we want to use.
Thank you!
*** Options: https://wiki.eprints.org/w/Eprints-tech_Mailing_List *** Archive: https://www.eprints.org/tech.php/ *** EPrints community wiki: https://wiki.eprints.org/
- Follow-Ups:
- Re: [EP-tech] Modification of Upload type
- From: zen zenitram <quickfire28@gmail.com>
- Re: [EP-tech] Modification of Upload type
- References:
- [EP-tech] Modification of Upload type
- From: zen zenitram <quickfire28@gmail.com>
- [EP-tech] Modification of Upload type
- Prev by Date: [EP-tech] Modification of Upload type
- Next by Date: Re: [EP-tech] Modification of Upload type
- Previous by thread: [EP-tech] Modification of Upload type
- Next by thread: Re: [EP-tech] Modification of Upload type
- Index(es):