<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<div style="padding-bottom: 10px; padding-top: 5px;">
<div style="padding:12px; border:1px solid #8D3970; background-color:#F7F9FA; color:#8D3970; font-size:14px; line-height:22px; font-family: Calibri, Arial, Helvetica, sans-serif;">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Hi,
<div><br>
</div>
<div>I don't have a solution for you right now, but I can point you in the right direction for where to start. It looks like this needs a phrase. I believe it should usually say "unspecified" with something like this, but I've found an instance in one of my
non-default views where this behaviour is shown.</div>
<div><br>
</div>
<div>If you look at your "year" browse view you might have some items without a year and they show as "Not Specified". Like in this example:</div>
<div><br>
</div>
<div><a href="https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Flivrepository.liverpool.ac.uk%2Fview%2Fyear%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfb51e5b9040b4022810f08d9b58febcf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637740453349058818%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=Jnw1Wo7VVOrya9z%2BV1z29So%2Fc5Tdy7BYb1LgW1yTr3U%3D&reserved=0" originalSrc="https://livrepository.liverpool.ac.uk/view/year/" shash="FLsrGygYZjIRNh4nz5sFuILVvHkgk3VEgeSHCcdO2rsnAqpAk9uHZU4R6vKAyhEFBqORZcvOlKqxEarVh5ZrMqP45UtBSWTepqaL9t7wuRINZr5OZZmZprvp9VkXixiEn7cwpho6BjwihHM4QqGK1a6WTgVvwFk/Ku4TjpUG2WM=">https://livrepository.liverpool.ac.uk/view/year/</a><br>
</div>
<div><br>
</div>
<div>The phrase that generates this "Not Specified" text is in:</div>
<div><br>
</div>
<div>/opt/eprints3/lib/lang/en/phrases/system.xml </div>
<div><br>
</div>
<div>and looks like this:<br>
</div>
<div><br>
</div>
<div><epp:phrase id="viewnull_eprint_year">Not Specified</epp:phrase><br>
</div>
<div><br>
</div>
<div>You SHOULD be able to make something similar for the missing phrase in your custom view (and in a local phrase file for your EPrints archive. NOT the system phrase file in /opt/eprints3/lib/lang/en/phrases/system.xml). I'm not 100% certain this would work
and I can't test it myself right now. I'm also not sure what your phrase id should be. I can try later on my repository and see if I get anywhere with it, but this might be enough to get you started?</div>
<div><br>
</div>
<div>I believe the code that handles this is in /opt/eprints3/perl_lib/EPrints/Update?Views.pm at line 595 (search for "viewnull" to get to this line: my $null_phrase_id = "viewnull_".$ds->base_id()."_".$view->{id};). You should not have to alter this, but
it might tell you how to construct your phrase id.</div>
<div><br>
</div>
<div>Thanks,</div>
<div>James</div>
<div><br>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Thu, Dec 2, 2021 at 10:49 AM Sonu Yadav via Eprints-tech <<a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div>
<div style="padding-bottom:10px;padding-top:5px">
<div style="padding:12px;border:1px solid rgb(141,57,112);background-color:rgb(247,249,250);color:rgb(141,57,112);font-size:14px;line-height:22px;font-family:Calibri,Arial,Helvetica,sans-serif">
<strong>CAUTION:</strong> This e-mail originated outside the University of Southampton.
</div>
</div>
<div>
<div dir="ltr">Kindly help me with this...
<div>and how to add extra metrics in the activity overview area...<br>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr" class="gmail_attr">On Fri, Nov 19, 2021 at 12:46 PM Sonu Yadav <<a href="mailto:yvsonu1987@gmail.com" target="_blank">yvsonu1987@gmail.com</a>> wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div dir="ltr">Dear Team,
<div><br>
</div>
<div>1. I created the journals_volume browse by. It is successfully created. I came across some of the material that has no name for the periodicals mentioned in the records.</div>
<div>In the browse view menu page, It is not showing undefined clickable value in place of this it is only showing the no. of items only.</div>
<div>Note: I attached the screenshot <span style="color:rgb(0,0,0);font-size:14px;text-align:justify">for reference.</span></div>
<img src="cid:ii_kw60icqd0" alt="image.png" width="453" height="118"><br>
<div>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify">id=>"date",
menus => [
                        {
                        fields => [ "publication" ],
        allow_null => 1,
hideempty => 1,
                 new_column_at => [10,10],
                        }],
         order=>"-date/title",
allow_null => 1,
variations => [
"date;res=year","date;res=month","creators_name","volume","number","DEFAULT"</pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify"> ],
                },</pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify">2. On the above browse views code in the variations. I need month wise sorting for this I use date;res=month as well as date;res=mm but that is showing with Date and year while when I use date;res=year it is only showing year not date or month.</pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify"> In our repository we mention the date of publication with DDMMYYY. when we generate the variation or menu it create the long list for this we are not able to find the related material easily.</pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify"><img src="cid:ii_kw61spdj3" alt="image.png" width="453" height="110"><br></pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify">3. How to show the Activity Overview on the Homepage of the site from the Usage Statistics page.</pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify">I also attached the screenshot for reference.</pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify"><img src="cid:ii_kw60irus1" alt="image.png" width="453" height="92"><br></pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify">4. I created the Document language metadata fields for browse by in the <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fviews.pl%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfb51e5b9040b4022810f08d9b58febcf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637740453349058818%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=F3OGPZ3tjEr3mZF3%2FX8ZDRN68AmAatW7r6fxRJpYyTg%3D&reserved=0" originalSrc="http://views.pl/" shash="aRQtcP8WAmsZshCe1kHMoVSXD0O2avphx7cVLZod99swfRwVclGJl3VvBCo+GvR2vfPiwaPyleMd0pMaogf0icrVkUSik1tImZAke4dRdjMNGE1blm2t4cRsNwKX+ZaTzjWx+XM8ULRY/+b0rv99Vi82zI8pfzT9zA6EXZ0X2ko=" target="_blank">views.pl</a>. For this, there is the dupication of the work for mentioning the language in two place. Is there any possibilty<span style="font-family:Arial,Helvetica,sans-serif"> that we can </span>also create browse<span style="font-family:Arial,Helvetica,sans-serif"> by things from the upload tab in the items workflow process that add the </span>fexibility<span style="font-family:Arial,Helvetica,sans-serif"> in the browsing and searching of the eprints sites.</span></pre>
<pre style="color:rgb(0,0,0);font-size:14px;text-align:justify"><span style="font-family:Arial,Helvetica,sans-serif">Thanks,</span></pre>
</div>
</div>
</blockquote>
</div>
</div>
</div>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech" rel="noreferrer" target="_blank">
http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a><br>
*** Archive: <a href="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%7Cfb51e5b9040b4022810f08d9b58febcf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637740453349068775%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=o6vGb6CKsU%2BECXmmkkTGh90D57K4oFewyIAELD%2BL9Zo%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="dTH5rUNjhsaGMPiubclKhVBrf2Aa3JMu8qfm/nHwDSiRMLH7PdnIjEpkNk50VpdRGUYEmADVlDoWur+NieiPJ5bg6C7JgZjW6VBTjeLbORl6hS0621zGcElph3QV3yYXPtWqa3pcxf3mtkdOad+b7JTYkWDrgqDkE83vlx9OZvM=" rel="noreferrer" target="_blank">
http://www.eprints.org/tech.php/</a><br>
*** EPrints community wiki: <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Cfb51e5b9040b4022810f08d9b58febcf%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637740453349068775%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000&sdata=PC5x2ZOT%2FgDupDsluPGcsBRt9wQLUKXVH3bvGNMaXVc%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="EPHprKPMvaJskz2qIGofekAWaTHi8Ev3bBpwzGg8tdeQs+KLuIK5f6Drh/yo/cf/uKy5aJwe2fA+lFKgyxtuCvabQpV3aenZJK5y7V3GUOKjnsVYbTZnOgKWk+xpnUj9NvdzmjO7EZNZQqOdZT1oza+8J7pctEggvIDMPHeHmcc=" rel="noreferrer" target="_blank">
http://wiki.eprints.org/</a></blockquote>
</div>
</div>
</body>
</html>