<html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<p>Hi Sonu,</p>
<p>In response to your questions:</p>
<p>1. I am 100% not sure what you mean by question 1. I think what
you are asking is if you have multiple fields that have the same
sort of data how can they be incorporated into the same view. An
example of this is creators and editors name. This can be done
with the following under menus:</p>
<p> fields => [ "creators_name", "editors_name" ],</p>
<p>If you add an additional block to menus then that will be a
subdivision to previous block as demonstrated in the config you
pasted for the type view below. You get pages for types and
subpages for year.<br>
</p>
<p>If you have fields that do not have the same type of data, then
this may not work or you will get a very odd looking view.</p>
<p>2. I don't think anyone has every asked to split by month but
without caring about the year as well. I am not sure but the
following may work, as date_month is stored as its own sub-field:</p>
<p> variations => [<br>
"date_month",<br>
];</p>
<p>3. If you have a view for divisions you cannot get it to
specifically display differently for one division over another.
If one division has a lot more items than another then various
settings for the view can be used to limit how many items appear
on a page. Say you use creator's name; for a large division using
creator's name as a subdivision might lead to individual sub-pages
for each starting letter for a creator's name, whereas a small
division may only have 2-3 pages with a wide spectrum of starting
letters on each page, as overall they have less items to display.</p>
<p>4. I think the best solution to your problem in 3 is like you
question for 4 and to have a specific view for this presumably
large division and then you can configure this how you like and
different from other divisions. To do this you need to add a
filter (after variations) for divisions like:</p>
<p>filters => [<br>
{ meta_fields => [ "divisions" ], value
=> "DIVISION_ID", describe => 0 }<br>
],</p>
<p>Note that the value is the division ID not the label so it won't
be "Department of Mass Communication" but probably some shortened
value used as its ID under the subject tree (e.g. dept_mass_comm).</p>
<p>Does anyone else have any idea for these questions. With views
there is often more than one way to solve a problem and when you
are aware of more options, you can consider which one most closely
meets your requirements or sometimes maybe thsu even allows you to
do something you had not thought of.<br>
</p>
<p>Regards</p>
<p>David Newman<br>
</p>
<div class="moz-cite-prefix">On 12/10/2021 05:46, Sonu Yadav via
Eprints-tech wrote:<br>
</div>
<blockquote type="cite" cite="mid:EMEW3|c0d6aa661071e70407f39d5242e974fcx9B5n514eprints-tech-bounces|ecs.soton.ac.uk|CAG7+VtzmTo8Dqa8-ZUrG=hysvBrUo8podv53kpX+JQJePwQFyw@mail.gmail.com">
<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">
<div>How to separate the month from the date for menu and
grouping in browse view page:</div>
<div>I have Four questions/query</div>
<div>1. how to make one more field in the menus</div>
<div>2. I have two menus, first is the type of the item
then the other is the year then I want to make one more that
is the month when I use date;res=month in the menu it is
showing month with the year but I want to group by month
only.</div>
<div>
<div>{<br>
id => "type",<br>
menus => [<br>
{<br>
fields => [ "type" ],<br>
reverse_order => 1,<br>
allow_null => 1,<br>
new_column_at =>
[10,10],<br>
},<br>
{<br>
fields => [
"date;res=year" ],<br>
reverse_order => 1,<br>
allow_null => 1,<br>
new_column_at =>
[10,10],<br>
}<br>
<br>
],<br>
order =>
"creators_name/title/editors_name",<br>
variations => [<br>
# "creators_name;first_letter",<br>
# "date;res=year",<br>
"date;res=month",<br>
# "publication;first_letter",<br>
# "volume",<br>
# "number",<br>
"DEFAULT" ],<br>
},</div>
</div>
<div><br>
</div>
<div>3. Is there any way to categorize a particular division
menu by year, then by month? when I create the menu
functionality 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%7Ca0d4aed308d34d98a69508d98d560986%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637696222923165878%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=4SoK7abPXYL7MFGuZvcBtNPBnDBE9U%2F90domiA0%2FEuo%3D&reserved=0" originalSrc="http://views.pl/" shash="GuyBsExxcJyyLU3oKCnsTlf+0czJQE03jHfliA+ZqNbGIMH5eTCEeqGMIvfH4PmEz33vs2GiWsJ/sXDfdEes8hysC5Y5TtUjEmYt5pVEcD9l+Gb4pIAcau7eowHmKfHKmOtdxKZGvZ0aWZLZg9fv823ITprdz6cYeYk3/FWTYPo=" originalsrc="http://views.pl/" shash="njaEWz4WNswaqUIq666YvYXbZaUpm1rvOA7qYPob+/DRXXsQjKoaS7wRS9MKskCvUt6vAofPFqz8UlMJaDxPA6eDzgxTrUMghRER5DJALQem/Azkp1VGc1pHz3djP5rHRwaB8amo5IS9gPSN2pPmp/IenBvaLi3ziYWqO4AKGwM=" moz-do-not-send="true">views.pl</a> it applies to all the
division categories.</div>
<div>4. Is there any way to generate the views of the
particular division, not the whole division like I want to
create a browse view of the Department of Mass Communication
only.</div>
<div><br>
</div>
<div>Thanks,</div>
</div>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">*** Options: <a class="moz-txt-link-freetext" href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</a>
*** Archive: <a class="moz-txt-link-freetext" 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%7Ca0d4aed308d34d98a69508d98d560986%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637696222923175829%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=ins9jHjYCVtR8asNWEglC6kOawMWWMI1NgjFwNT7gYU%3D&reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="wP+wL7YDXFdV+pyao6i3C31qWhW5CJ0r7rgTd/194d7+339445/s8Y+39iIsHlxEbhqMAWSY5R39vo4TYjriiik57NYJru87neQxUdbmsoTebPF3F4Mr+aKjytGGrUbVnnGzTL9ic9akQTkKJgtqE09ZU+9fGIoC8/FnHC/MMYQ=">http://www.eprints.org/tech.php/</a>
*** EPrints community wiki: <a class="moz-txt-link-freetext" href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca0d4aed308d34d98a69508d98d560986%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637696222923175829%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=bJd4Hsy8yr0AZU5%2FGxaWrUfpjYXiq83n4tL1FOTA16o%3D&reserved=0" originalSrc="http://wiki.eprints.org/" shash="D/Fn/zHzz5w5z0tqVcMjWwkHZCcMn8DR3cNoREzgLaw68/wN+ow+K+CNjzuKs4gb9/b7Ht/7UkaWRdqNv3Zy62p7it0jwxJUhMjMc0lY4tj99vuIdXpB4nR6e7cq2Tu8a52+nnuXbjDRYwXD099xj2vPUwKM0Lsxye4we6jNkao=">http://wiki.eprints.org/</a></pre>
</blockquote>
<div id="DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top: 1px solid #D3D4DE;">
        <tr>
<td style="width: 55px; padding-top: 13px;"><a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca0d4aed308d34d98a69508d98d560986%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637696222923185786%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W6K%2FnTuI8W2G2PivGNmKruR8ds6dYIuxktfoGgJZj8Y%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="iLCGxqe9I1RvEhkFGfkqiHCFgAz4m9R+56oWs9JOGzEwRpcbYUU7oPhELs8A/0egwz6oLM0dEXMcjtxSQaa+6NLU1qefEw8czvFccIJ2LgUr1/uvyrgvDolvRqzWovlEDZeSHUgQsTqPItQFzEqmWxMhtIjW0pMq8ReGdwYMzdI=" target="_blank"><img src="https://ipmcdn.avast.com/images/icons/icon-envelope-tick-green-avg-v1.png" alt="" width="46" height="29" style="width: 46px; height: 29px;"></a></td>
                <td style="width: 470px; padding-top: 12px; color: #41424e; font-size: 13px; font-family: Arial, Helvetica, sans-serif; line-height: 18px;">Virus-free. <a href="https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.avg.com%2Femail-signature%3Futm_medium%3Demail%26utm_source%3Dlink%26utm_campaign%3Dsig-email%26utm_content%3Demailclient&data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7Ca0d4aed308d34d98a69508d98d560986%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637696222923185786%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&sdata=W6K%2FnTuI8W2G2PivGNmKruR8ds6dYIuxktfoGgJZj8Y%3D&reserved=0" originalSrc="http://www.avg.com/email-signature?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient" shash="iLCGxqe9I1RvEhkFGfkqiHCFgAz4m9R+56oWs9JOGzEwRpcbYUU7oPhELs8A/0egwz6oLM0dEXMcjtxSQaa+6NLU1qefEw8czvFccIJ2LgUr1/uvyrgvDolvRqzWovlEDZeSHUgQsTqPItQFzEqmWxMhtIjW0pMq8ReGdwYMzdI=" target="_blank" style="color: #4453ea;">www.avg.com</a>
                </td>
        </tr>
</table><a href="#DAB4FAD8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"> </a></div></body>
</html>