EPrints Technical Mailing List Archive
Message: #04606
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- From: "Field A.N." <af05v@ecs.soton.ac.uk>
- Date: Tue, 1 Sep 2015 13:31:55 +0100
Hmmm.... I've explored the codebase, and it looks like there's a 'search_input_style' property. It looks like for a 'set' type, it defaults to 'checkbox'. This is tested for here: https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/MetaField/Set.pm#L413 ...I don't think it's tested for anywhere else. In your field definition, add: 'search_input_style' => 'default', ...and see what happens. You'll have to reload the configuration or restart the webserver. -- Adam Field Business Relationship Manager and Community Lead EPrints Services +44 (0)23 8059 8814 On 31 Aug 2015, at 17:48, Brian D. Gregg wrote: > All, > > I’ve been asked to find out if there is a “better way” to render a field that has a large number of choices such as the language field that may have upwards of 140 languages all listed on the advanced search page as each individually with a check box. What I understand we are looking for is if there is a way to have this as a single select drop-down box or a multi-select drop-down box so that the languages field doesn’t take up so much real estate on the page. > > Any hints suggestions would be welcome. > > Thanks. > > Brian D. Gregg > Solutions Architect | Manager Systems Development > University of Pittsburgh | University Library System > Address: 7500 Thomas Blvd. Room 129 Pittsburgh, PA 15208 > Tel: (412) 648-3264 | Email: bdgregg@pitt.edu | Fax: (412) 648-3585 > > *** 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] Advanced Search Page render of large number of choices (such as language).
- From: "Brian D. Gregg" <bdgregg@pitt.edu>
- [EP-tech] Advanced Search Page render of large number of choices (such as language).
- Prev by Date: [EP-tech] Re: EPrints User Group - Accommodation
- Next by Date: [EP-tech] Re: "max_items" limit
- Previous by thread: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Next by thread: [EP-tech] Re: Advanced Search Page render of large number of choices (such as language).
- Index(es):