EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08504


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

Re: [EP-tech] about browse-view


CAUTION: This e-mail originated outside the University of Southampton.
Hello,

I can't say for certain this will solve your problems, or is even correct for your repository, but in mine the EPrint dataset has a "language" field. Not "languages". Maybe try altering it to be language without the S at the end?

Thanks,
James

On Fri, Jan 29, 2021 at 7:28 AM Sonu Yadav via Eprints-tech <eprints-tech@ecs.soton.ac.uk> wrote:
CAUTION: This e-mail originated outside the University of Southampton.
hi,

I want to add browse view by languages, contributors with specfic titile (like thesis advisor, ) and translator.
I write code in view.pl that mentioned below.
{
 id=>"languages",
 allow_null=>0,
 hideempty => 1,
menus => [
{
fields => [ "languages" ],
new_column_at => [1, 1],
mode => "sections",
open_first_section => 1,
},
],

 order=>"title",  
 include=>1
 },
but it showing error that "Dataset eprint does not have a field 'languages'"
while uploading the pdf document there is the option to choose languages. I choose english. but nothing is showing.

one more thing if I create a custom metadata field in details menu while uploading any document. so, how to add this new fields in browse view.


thanks,


*** 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/