<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">I would suggest using an automatic field when you want to render it differently in a different context. &nbsp;That's what I've done in the past. &nbsp;Create a creators_nolink field, and have it render the value in creators without the links. &nbsp;There's even a training video about it 8-&gt;<div><br><div apple-content-edited="true">
<div style="color: rgb(0, 0, 0); letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>--<br>Adam Field<br>Business Relationship Manager and Community Lead<br>EPrints Services</div><div><br></div><div>I am currently not working in the UK. &nbsp;Due to timezone differences (GMT -9) email responses may take longer.</div></div>

</div>
<br><div><div>On 13 Jul 2015, at 17:31, Alan.Stiles &lt;<a href="mailto:alan.stiles@open.ac.uk">alan.stiles@open.ac.uk</a>&gt; wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">

<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri",sans-serif;
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:#0563C1;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:#954F72;
        text-decoration:underline;}
span.apple-tab-span
        {mso-style-name:apple-tab-span;}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:windowtext;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Calibri",sans-serif;
        color:#1F497D;}
.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><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->

<div lang="EN-GB" link="#0563C1" vlink="#954F72">
<div class="WordSection1"><p class="MsoNormal"><span style="color:#1F497D">Thanks. Itís a hole of my own digging where Iíve amended the creators render to format internal author names as links to their author browse view unless nolink is set.&nbsp; Elsewhere Iím then trying to use the citation
 but without the links rendering.&nbsp; Iíve worked around it for now with some cludgy regex but it seems like there should be a more elegant solution.&nbsp; Iíll have a look at these links and see what comes out.&nbsp; Thanks for taking time out of your holiday.<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span></p><p class="MsoNormal"><span style="color:#1F497D">Alan<o:p></o:p></span></p><p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> Adam Field [<a href="mailto:af05v@ecs.soton.ac.uk">mailto:af05v@ecs.soton.ac.uk</a>]
<br>
<b>Sent:</b> 13 July 2015 03:59<br>
<b>To:</b> <a href="mailto:eprints-tech@ecs.soton.ac.uk">eprints-tech@ecs.soton.ac.uk</a><br>
<b>Subject:</b> [EP-tech] Re: DataObj-&gt;render_citation options<o:p></o:p></span></p>
</div>
</div><p class="MsoNormal"><o:p>&nbsp;</o:p></p><p class="MsoNormal">The actual call appears to be here:<span style="font-size:12.0pt;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
<div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Script.pm#L149">https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Script.pm#L149</a><o:p></o:p></p>
</div>
<div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div><p class="MsoNormal">...which appears to hard-codes nolink to 0. &nbsp;You can define opts in print tags in citations, so it's not beyond the realms of reason that this can't be passed through the twisty rabbit warren. &nbsp;The opts are just sucked up into the arguments
 here:<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/XML/EPC.pm#L250">https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/XML/EPC.pm#L250</a><o:p></o:p></p>
</div>
<div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
<div><p class="MsoNormal">What is the actual problem you're trying to solve?<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div>
<div>
<div>
<div><p class="MsoNormal"><span style="">--<br>
Adam Field<br>
Business Relationship Manager and Community Lead<br>
EPrints Services<o:p></o:p></span></p>
</div>
<div><p class="MsoNormal"><span style="">&nbsp;</span></p>
</div>
<div><p class="MsoNormal"><span style="">I am currently not working in the UK. &nbsp;Due to timezone differences (GMT -9) email responses may take longer.<o:p></o:p></span></p>
</div>
</div>
</div><p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<div>
<div><p class="MsoNormal">On 10 Jul 2015, at 19:15, Alan.Stiles &lt;<a href="mailto:alan.stiles@open.ac.uk">alan.stiles@open.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div><p class="MsoNormal"><br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><p class="MsoNormal"><span style="color:#1F497D">Thanks Adam, kind of useful Ė I was trying to figure out if it was possible to pass a Ďnolinkí flag from a call to DataObj-&gt;render_citation($style, %opts) &nbsp;that will get picked up by Metafield-&gt;render_value($session,
 $value, $alllangs, $nolink, $object) but I keep getting lost in the twisty rabbit warren between the functions!</span><o:p></o:p></p><p class="MsoNormal"><span style="color:#1F497D">&nbsp;</span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-GB">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-GB"> Adam Field [</span><a href="mailto:af05v@ecs.soton.ac.uk"><span lang="EN-US" style="mso-fareast-language:EN-GB">mailto:af05v@ecs.soton.ac.uk</span></a><span lang="EN-US" style="mso-fareast-language:EN-GB">]
<br>
<b>Sent:</b> 10 July 2015 09:21<br>
<b>To:</b> </span><a href="mailto:eprints-tech@ecs.soton.ac.uk"><span lang="EN-US" style="mso-fareast-language:EN-GB">eprints-tech@ecs.soton.ac.uk</span></a><span lang="EN-US" style="mso-fareast-language:EN-GB"><br>
<b>Subject:</b> [EP-tech] Re: DataObj-&gt;render_citation options</span><o:p></o:p></p>
</div>
</div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div><p class="MsoNormal">The actual rendering happens here:<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span><a href="https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Citation/EPC.pm#L64">https://github.com/eprints/eprints/blob/3.3/perl_lib/EPrints/Citation/EPC.pm#L64</a><o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">But is is a confusing, twisty route. &nbsp;A call to render_citation should look like this:<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">$eprint-&gt;render_citation('citation_name', %params);<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">...where params is a hash that looks like this:<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">(<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>thing1 =&gt; DOM_OBJECT,<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>thing2 =&gt; DOM_OBJECT,<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>flags =&gt; {<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>flag1 =&gt; 1,<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>flag2 =&gt; 0,<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
</span>flag3 =&gt; 1,<o:p></o:p></p>
</div>
<div><p class="MsoNormal"><span class="apple-tab-span">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </span>},<o:p></o:p></p>
</div>
<div><p class="MsoNormal">)<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">Params are things that are passed through that may be used in the citation. &nbsp;Generally speaking, these are dom objects to be put into the citation or flags to base conditionals upon.<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">Does that help?<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div>
<div>
<div>
<div><p class="MsoNormal">--<br>
Adam Field<br>
Business Relationship Manager and Community Lead<br>
EPrints Services<o:p></o:p></p>
</div>
<div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
</div>
<div><p class="MsoNormal">I am currently not working in the UK. &nbsp;Due to timezone differences (GMT -9) email responses may take longer.<o:p></o:p></p>
</div>
</div>
</div><p class="MsoNormal">&nbsp;<o:p></o:p></p>
<div>
<div><p class="MsoNormal">On 9 Jul 2015, at 20:21, Alan.Stiles &lt;<a href="mailto:alan.stiles@open.ac.uk">alan.stiles@open.ac.uk</a>&gt; wrote:<o:p></o:p></p>
</div><p class="MsoNormal"><br>
<br>
<br>
<o:p></o:p></p>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div><p class="MsoNormal">Can anyone point me to a wiki page or a .pm file that defines what the possible values for %opts are for DataObj-&gt;render_citation() ?<o:p></o:p></p><p class="MsoNormal">&nbsp;<o:p></o:p></p><p class="MsoNormal">Iím having a complete failure to figure out what they are or what the chain of functions is that finally leads to the Metafield-&gt;render_value function<o:p></o:p></p><p class="MsoNormal">Thanks!<o:p></o:p></p><p class="MsoNormal">Alan<o:p></o:p></p><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">-- The Open University is incorporated by Royal Charter (RC 000391), an exempt charity in England &amp; Wales and a charity registered in Scotland
 (SC 038302). The Open University is authorised and regulated by the Financial Conduct Authority.
</span><o:p></o:p></p>
</div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">*** Options:
</span><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><br>
*** Archive: </span><a href="http://www.eprints.org/tech.php/"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://www.eprints.org/tech.php/</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><br>
*** EPrints community wiki: </span><a href="http://wiki.eprints.org/"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://wiki.eprints.org/</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><br>
*** EPrints developers Forum: </span><a href="http://forum.eprints.org/"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://forum.eprints.org/</span></a><o:p></o:p></p>
</blockquote>
</div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">&nbsp;</span><o:p></o:p></p>
</div>
</div>
</div>
</div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">*** Options:
</span><a href="http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><br>
*** Archive: </span><a href="http://www.eprints.org/tech.php/"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://www.eprints.org/tech.php/</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><br>
*** EPrints community wiki: </span><a href="http://wiki.eprints.org/"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://wiki.eprints.org/</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><br>
*** EPrints developers Forum: </span><a href="http://forum.eprints.org/"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">http://forum.eprints.org/</span></a><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB"><o:p></o:p></span></p>
</blockquote>
</div><p class="MsoNormal"><span style="font-size:12.0pt;font-family:&quot;Times New Roman&quot;,serif;mso-fareast-language:EN-GB">&nbsp;</span></p>
</div>
</div>
</div>
</div>
</div>

*** 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="http://www.eprints.org/tech.php/">http://www.eprints.org/tech.php/</a><br>*** EPrints community wiki: <a href="http://wiki.eprints.org/">http://wiki.eprints.org/</a><br>*** EPrints developers Forum: <a href="http://forum.eprints.org/">http://forum.eprints.org/</a><br></blockquote></div><br></div></body></html>