[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[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 at ecs.soton.ac.uk<mailto:eprints-tech at 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<https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fview.pl%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C630eedd891cf4c169a2808d8c42c336a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637475041401670255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=IKWKjl0wK7P9suUaRWtWbmTvbKPkIjORiZF9%2FprvA6Y%3D&reserved=0> 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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C630eedd891cf4c169a2808d8c42c336a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637475041401670255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bifKesnn4%2F2OkbgEsdLjkCczMve7yszxc%2BPga7NxHIE%3D&reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C630eedd891cf4c169a2808d8c42c336a%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637475041401670255%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=p1jSsiB3U6MQwcQonZMIdMnXsCXU1LltHPocrktJjko%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210129/3599647d/attachment-0001.html