[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[EP-tech] Eprints-tech Digest, Vol 148, Issue 66



CAUTION: This e-mail originated outside the University of Southampton.
I try but same error is showing


On Fri, Jan 29, 2021 at 1:58 PM <eprints-tech-request at ecs.soton.ac.uk<mailto:eprints-tech-request at ecs.soton.ac.uk>> wrote:
Send Eprints-tech mailing list submissions to
        eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>

To subscribe or unsubscribe via the World Wide Web, visit
        http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
or, via email, send a message with subject or body 'help' to
        eprints-tech-request at ecs.soton.ac.uk<mailto:eprints-tech-request at ecs.soton.ac.uk>

You can reach the person managing the list at
        eprints-tech-owner at ecs.soton.ac.uk<mailto:eprints-tech-owner at ecs.soton.ac.uk>

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Eprints-tech digest..."


Today's Topics:

   1. about browse-view (Sonu Yadav)
   2. Re: about browse-view (James Kerwin)


----------------------------------------------------------------------

Message: 1
Date: Fri, 29 Jan 2021 12:45:18 +0530
From: Sonu Yadav <yvsonu1987 at gmail.com<mailto:yvsonu1987 at gmail.com>>
Subject: [EP-tech] about browse-view
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>
Message-ID:
        <CAG7+Vtye_HN05WEcvUBYXYAMnP3WM0NC1A9t_kMsGVRU1-4MJw at mail.gmail.com<mailto:CAG7%2BVtye_HN05WEcvUBYXYAMnP3WM0NC1A9t_kMsGVRU1-4MJw at mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C68c2393723d947a2ec9b08d8c682b781%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637477612016894224%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=i5PAPJ3C%2FNL80JXpV5LCNo19SoxgxJhMZ1vaFcWh5UI%3D&amp;reserved=0><https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fview.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C68c2393723d947a2ec9b08d8c682b781%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637477612016894224%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=i5PAPJ3C%2FNL80JXpV5LCNo19SoxgxJhMZ1vaFcWh5UI%3D&amp;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,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210129/0030ffc6/attachment-0001.html

------------------------------

Message: 2
Date: Fri, 29 Jan 2021 08:02:07 +0000
From: James Kerwin <jkerwin2101 at gmail.com<mailto:jkerwin2101 at gmail.com>>
Subject: Re: [EP-tech] about browse-view
To: eprints-tech at ecs.soton.ac.uk<mailto:eprints-tech at ecs.soton.ac.uk>, Sonu Yadav <yvsonu1987 at gmail.com<mailto:yvsonu1987 at gmail.com>>
Message-ID:
        <CAKkNZ9C13PePJStdnAhOvvXnk1MVb3mqryoOswF_Q6OQOrUgvg at mail.gmail.com<mailto:CAKkNZ9C13PePJStdnAhOvvXnk1MVb3mqryoOswF_Q6OQOrUgvg at mail.gmail.com>>
Content-Type: text/plain; charset="utf-8"

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><mailto: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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C68c2393723d947a2ec9b08d8c682b781%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637477612016894224%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=i5PAPJ3C%2FNL80JXpV5LCNo19SoxgxJhMZ1vaFcWh5UI%3D&amp;reserved=0><https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fview.pl%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C68c2393723d947a2ec9b08d8c682b781%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637477612016904217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=wAjfh5MrmcjL6V37m4N9VF7vZlA%2FOEqkg%2BMCrUHn9qc%3D&amp;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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C68c2393723d947a2ec9b08d8c682b781%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637477612016904217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=WZHZHTMUW8wdTrKdmQrNrw32LrC9%2F%2Fd5wIwCm%2F7NAtA%3D&amp;reserved=0
*** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C68c2393723d947a2ec9b08d8c682b781%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637477612016904217%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=WWg6qg8dT6zLWx6sOisc1bjLZ1lSHgPhSrM9ZeamQI0%3D&amp;reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210129/3599647d/attachment.html

------------------------------

_______________________________________________
Eprints-tech mailing list
Eprints-tech at ecs.soton.ac.uk<mailto:Eprints-tech at ecs.soton.ac.uk>
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech


End of Eprints-tech Digest, Vol 148, Issue 66
*********************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20210201/7464f819/attachment-0001.html