<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1252">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p style="margin-top:0;margin-bottom:0">Hopefully someone else can chime in with an actual answer about how to do this via a plugin, but outside of the views, I've had more success overriding things in the PUI with a custom build. And with the citation feature,
you might also need to check out this bit, which is where the URL + timestamp text is added: <a href="https://github.com/archivesspace/archivesspace/blob/33a433f4df55c5ee4a21128825529bb9a1a4c023/public/app/models/record.rb#L331-L333" class="OWAAutoLink" id="LPlnk513095" previewremoved="true">https://github.com/archivesspace/archivesspace/blob/33a433f4df55c5ee4a21128825529bb9a1a4c023/public/app/models/record.rb#L331-L333</a></p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
<p style="margin-top:0;margin-bottom:0"><br>
</p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org> on behalf of Kevin Clair
<Kevin.Clair@du.edu><br>
<b>Sent:</b> Thursday, May 17, 2018 7:33:57 PM<br>
<b>To:</b> Archivesspace Group<br>
<b>Subject:</b> [Archivesspace_Users_Group] overriding default citation text in the PUI</font>
<div> </div>
</div>
<meta content="text/html; charset=utf-8">
<meta name="x_Generator" content="Microsoft Word 15 (filtered medium)">
<style>
<!--
@font-face
{font-family:"Cambria Math"}
@font-face
{font-family:Calibri}
p.x_MsoNormal, li.x_MsoNormal, div.x_MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Calibri",sans-serif}
a:x_link, span.x_MsoHyperlink
{color:#0563C1;
text-decoration:underline}
a:x_visited, span.x_MsoHyperlinkFollowed
{color:#954F72;
text-decoration:underline}
span.x_EmailStyle17
{font-family:"Calibri",sans-serif;
color:windowtext}
.x_MsoChpDefault
{font-family:"Calibri",sans-serif}
@page WordSection1
{margin:1.0in 1.0in 1.0in 1.0in}
div.x_WordSection1
{}
-->
</style>
<div lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="x_WordSection1">
<p class="x_MsoNormal"><span style="font-size:11.0pt">Hello,</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt">We had a request here at the University of Denver to override the default formatting of citations in the PUI. It looks like the default is defined in public/app/models/resource.rb, which I haven’t been able
to figure out how to override with a plugin. Has anyone extended the default behavior of these PUI models, and if so, can you provide some tips on how I could do so?</span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt"> </span></p>
<p class="x_MsoNormal"><span style="font-size:11.0pt">thanks! -k</span></p>
</div>
</div>
</body>
</html>