<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<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,Arial,Helvetica,sans-serif;" dir="ltr">
<p>Hello,</p>
<p><br>
</p>
<p>I'm attempting to write a plugin that will modify the way the breadcrumb trail (shown in the new public UI) is generated to include more detail. I decided to try and override one of the files in the controller part of the architecture: resources_controller.rb,
since I can see the :crumb being defined there. However, either my path is wrong, or the new UI isn't utilizing it. Following the instructions here:
<a href="http://archivesspace.github.io/archivesspace/user/archivesspace-plug-ins-readme/" class="OWAAutoLink" id="LPlnk244985" previewremoved="true">
http://archivesspace.github.io/archivesspace/user/archivesspace-plug-ins-readme/</a> I've placed the file in the following directory:</p>
<p><br>
</p>
<p>as<span>220/plugins/local/public/controllers/<b>resources_controller.rb</b></span></p>
<p><span><i>( source location: <span>/public/app/controllers/resources_controller.rb</span> )</i></span></p>
<p><span></span><span></p>
<div>Plugin Config: AppConfig[:plugins] = ['local', 'lcnaf', 'aspace-public-formats']
</div>
</span><span></span><span></span><span></span><span></span><span></span><span></span><span></span><br>
<span></span><span></span><br>
<p></p>
<p>If I'm not mistaken that document indicates that this is something that can be overridden, but I'm suspecting I can't actually override something in the controller from a plugin. </p>
<p><br>
</p>
<p>The version is 2.2.0, running on Linux x64, <span>openjdk version "1.8.0_151". Any advice would be appreciated!
<br>
</span></p>
<p><span><br>
</span></p>
<p><span>Thank you,</span><br>
</p>
<p><br>
</p>
<div id="Signature">
<div id="divtagdefaultwrapper" style="font-size:12pt; color:#000000; background-color:#FFFFFF; font-family:Calibri,Arial,Helvetica,sans-serif">
<p>~Patrick Flanagan</p>
<p><i>KLN Applications Administrator</i></p>
<p><i>Keystone Library Network Hub</i><br>
</p>
</div>
</div>
</div>
</body>
</html>