EPrints Technical Mailing List Archive
See the EPrints wiki for instructions on how to join this mailing list and related information.
Message: #09965
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] related_url types
- To: "eprints-tech@ecs.soton.ac.uk" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] related_url types
- From: Tomasz Neugebauer <Tomasz.Neugebauer@concordia.ca>
- Date: Wed, 12 Feb 2025 21:09:19 +0000
CAUTION: This e-mail originated outside the University of Southampton.
Hi everyone!
I'm writing on here because I find myself surprisingly far down the rabbit hole in trying to figure out how to do something that thought would be really quick and easy: adding a new "related_url" type to our settings.
Where are the related settings for this?
I found this in flavours/pub_lib/cfg.d/eprint_fields_pub.pl:
{
name => 'related_url',
type => 'compound',
multiple => 1,
render_value => 'EPrints::Extras::render_related_url',
fields => [
{
sub_name => 'url',
type => 'url',
input_cols => 40,
},
{
sub_name => 'type',
type => 'set',
options => [qw(
pub
author
org
)],
}
],
I assume that I would redefine this in my own eprint_fields.pl in the local cfg.d, adding the new "type"? However, where are the phrases and other settings related to these terms, like "org"? In short, if I needed to add a new "type" here, what other files
would I need to look at and/or update?
Searching for things like "author", "pub" or "org" in the code is not helping...
Tomasz
________________________________________________
Tomasz Neugebauer
Tel. / Tél. 514-848-2424 ext. / poste 7738
Mailing address / adresse postale: 1455 De Maisonneuve Blvd. W., LB-540-03, Montreal, Quebec H3G 1M8 library.concordia.ca |
- Follow-Ups:
- Re: [EP-tech] related_url types
- From: "Alan.Stiles [He/Him/They]" <alan.stiles@open.ac.uk>
- RE: [EP-tech] related_url types
- From: Matthew Kerwin <matthew.kerwin@qut.edu.au>
- Re: [EP-tech] related_url types
- Prev by Date: Re: [EP-tech] Eprints and .well-known
- Next by Date: RE: [EP-tech] related_url types
- Previous by thread: [EP-tech] Eprints and .well-known
- Next by thread: RE: [EP-tech] related_url types
- Index(es):