EPrints Technical Mailing List Archive

Message: #06541


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] lookup referee


Hi Roland,

	I think the problem is probably that the autocomplete script is expecting the field to have a name and an ID part.  Try either adding an ID part to the field (replicate the structure of the creators field) or you’ll need to modify the cgi script that does the autocomplete.  If you’re OK with referees having an optional email address sub-field, then that’s the simplest thing to do.

—
Adam


> On 29 May 2017, at 12:39, Roth-Steiner, Roland <roland.roth-steiner@ulb.tu-darmstadt.de> wrote:
> 
> Hi Adam,
> 
> here:
> 
> {
>        name => 'referees',
>        multiple => 1,
>        type => 'name',
>        hide_honourific => 0,
>        hide_lineage => 1,
>        family_first => 1,
>        input_boxes => 2,
>        render_quiet => 1,
> },
> 
> Thanks
> 
> .......................................
> Roland Roth-Steiner
> M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
> . Univ.- und Landesbibliothek
> ... Elektronische Informationsdienste
> ... Leitung Digitalisierungszentrum
> . Magdalenenstr. 8, 64289 Darmstadt
> +49 (0)6151 16-76280
> .......................................
> 
> ________________________________________
> Von: eprints-tech-bounces@ecs.soton.ac.uk <eprints-tech-bounces@ecs.soton.ac.uk> im Auftrag von Adam Field <adam@adamfield.net>
> Gesendet: Montag, 29. Mai 2017 13:15
> An: eprints-tech@ecs.soton.ac.uk
> Betreff: Re: [EP-tech] lookup referee
> 
> Can you show me the field configuration of the referee field?
> 
>> On 29 May 2017, at 09:07, Roth-Steiner, Roland <roland.roth-steiner@ulb.tu-darmstadt.de> wrote:
>> 
>> Hi all,
>> 
>> I managed to get a correct lookup for the referees (derived from cgi/users/lookup/name), but selecting a referee does not yet put in in the appropriate fields.
>> 
>> See screenshot.
>> 
>> Where can I influence the values, that are taken into the fields?
>> 
>> Thanks
>> 
>> .......................................
>> Roland Roth-Steiner
>> M.Sc. Wirtsch.-Inf., Dipl.-Bibl.
>> . Univ.- und Landesbibliothek
>> ... Elektronische Informationsdienste
>> ... Leitung Digitalisierungszentrum
>> . Magdalenenstr. 8, 64289 Darmstadt
>> +49 (0)6151 16-76280
>> .......................................
>> <2017-05-29_10-03-31_Eintrag bearbeiten_ Living with severe osteoarthritis while awaiting hip and kne.png>*** 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/
> 
> 
> *** 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/
> 
> *** 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/