<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Menlo;
        panose-1:2 11 6 9 3 8 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body lang="EN-GB" link="blue" vlink="purple" style="word-wrap:break-word">
<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 class="WordSection1">
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Hi Laurent,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">I’m talking from a 3.3.x perspective (don’t know if it applies to 3.4) but, in eprint_render.pl, just above the statement about completely customising them using the perl routine below, there is
 a defined list of fields <o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:Menlo;color:#24292F;background:white">$c</span><span style="font-size:9.0pt;font-family:Menlo;color:black;background:white">-&gt;</span><span style="font-size:9.0pt;font-family:Menlo;color:#24292F;background:white">{</span><span style="font-size:9.0pt;font-family:Menlo;color:black;background:white">summary_page_metadata</span><span style="font-size:9.0pt;font-family:Menlo;color:#24292F;background:white">}
 = [qw/</span><o:p></o:p></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">…<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">/];<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Which is the list the iterator in summary_page runs through.&nbsp; Changing the fields listed in this definition in eprints_render should change what fields are rendered, unless they are explicitly named
 in summary_page.xml<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Note, the pages for items are built and cached, so you would need to trigger an update by, e.g. editing a field value in the workflow or running a generate_abstracts from the bin directory.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US">Alan<o:p></o:p></span></p>
<p class="MsoNormal"><span style="mso-fareast-language:EN-US"><o:p>&nbsp;</o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">eprints-tech-bounces@ecs.soton.ac.uk &lt;eprints-tech-bounces@ecs.soton.ac.uk&gt; on behalf of Laurent Cloarec via Eprints-tech &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Date: </b>Monday, 8 November 2021 at 16:39<br>
<b>To: </b>eprints-tech@ecs.soton.ac.uk &lt;eprints-tech@ecs.soton.ac.uk&gt;<br>
<b>Subject: </b>[EP-tech] Customizing item display<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal">CAUTION: This mail comes from outside the University. Please consider this before opening attachments, clicking links, or acting on the content.<br>
<br>
CAUTION: This e-mail originated outside the University of Southampton.<br>
<br>
Hi everybody<br>
<br>
I try to change (hide some) the fields that are displayed.<br>
<br>
There are contradictory comments into &quot;eprint_render.pl&quot; and &quot;summary_page.xml&quot; :<br>
- into the first one, it says:<br>
« While you can completely customise them using the perl subroutine below, it's<br>
easier to edit them via citation/eprint/summary_page.xml »<br>
- and into the second one:<br>
« The below block loops over a list of field names taken from eprint_render.pl<br>
Edit the list of metadata to show in the summary page table in eprint_render.pl »<br>
<br>
So, where should I act to hide some of these fields???<br>
<br>
On another hand, I easily managed to display a new field/metadata (&quot;id_number&quot;/<br>
DOI) below the official URL, but when I try to change something into the<br>
&quot;&lt;epc:foreach expr=&quot;$config{summary_page_metadata}&quot; iterator=&quot;fieldname&quot;&gt;&quot;<br>
block, nothing happens (even with fixed strings), even after a configuration<br>
reload and an Apache/httpd service restart!...<br>
<br>
Please help!<br>
<br>
Thanks in advance and best regards<br>
--<br>
Laurent Cloarec<br>
Service Commun de la Documentation - Service du Numérique Documentaire<br>
Université Toulouse 1 Capitole<br>
<br>
<br>
*** Options: <a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech">
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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0205da3cae384bfdd07808d9a35e7883%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637720448403366567%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=1jJ%2FBjS4e09e7IWR9nQ0d9KPO31G5I3lZlu6LLs0xcY%3D&amp;reserved=0" originalSrc="http://www.eprints.org/tech.php/" shash="tht9nATh2OjuVQs/fK4PIxPDJwvgRdTSBLITfobHBGGgYt0NFLAj5uaH3SdxdPeDWytqiH4RGSXZ29lqt0WxeaehiDJl8lEdAmiFXJIyaAS/Aosxyk1s3mQbnk6cw5Onxr4jtc/oUEXDCIDgkoWgbvVrba1m0iM9tbtqWnU/NGQ=">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&amp;data=04%7C01%7Ceprints-tech%40ecs.soton.ac.uk%7C0205da3cae384bfdd07808d9a35e7883%7C4a5378f929f44d3ebe89669d03ada9d8%7C0%7C0%7C637720448403376515%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C1000&amp;sdata=rlXQffj9xSdgo5H4j2tlwYjMJL%2BvsZ6S7WFHmHor4fk%3D&amp;reserved=0" originalSrc="http://wiki.eprints.org/" shash="WMsYIv01BEh5O62zxqch++92z5Qsu46bJkN7o4yfSYUB8goW1oEoxlpKkieQ5V5cP2c7ufxG709lCYRwa6C4OuvwG2G3LRnb8hHJs+8fwFQIArtOwnfFwQh1HexEroBuirIOb2SZqqOT2E1XISqWKvqnsyp0xB/ThWjETGwOi0s=">http://wiki.eprints.org/</a><o:p></o:p></p>
</div>
</div>
</div>
</body>
</html>