<div dir="ltr"><div><div><div>Thanks for all the help - I was able to get the new plugin directory loaded and properly working.<br><br></div>Regarding why I changed the directory in the first place - I was able to make working changes on my local machine using /plugins/lcnaf, but ran into collision issues with the old LCNAF plugin when moving the code to our live instance.  It seemed prudent to use a new plugin directory to avoid further issues with overlapping code, esp. as we install updates to the application.<br><br></div>Thanks again!<br></div>--Alex<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Jan 6, 2016 at 7:26 PM, Majewski, Steven Dennis (sdm7g) <span dir="ltr"><<a href="mailto:sdm7g@eservices.virginia.edu" target="_blank">sdm7g@eservices.virginia.edu</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">



<div style="word-wrap:break-word">
<br>
<div><span class="">
<blockquote type="cite">
<div>On Jan 6, 2016, at 7:06 PM, Carlos Lemus <<a href="mailto:carlos.lemus@unlv.edu" target="_blank">carlos.lemus@unlv.edu</a>> wrote:</div>
<br>
<div>
<div dir="ltr">Hello Alex,
<div><br>
</div>
<div>I think I was able to replicate your problem. Did you switch the plugin name from lcnaf to lcnaf-new?</div>
<div><br>
</div>
<div>The name of the controller needs to be the same of the directory, kind of. Here is more information on that</div>
<div><a href="http://stackoverflow.com/questions/20162628/same-controller-name-in-two-different-directories" target="_blank">http://stackoverflow.com/questions/20162628/same-controller-name-in-two-different-directories</a><br>
</div>
<div><br>
</div>
<div><br>
</div>
<div>I would leave the name as lcnaf and continue to add your changes. If you REALLY want to change the plugin name I would</div>
<div><br>
</div>
<div>1. change the plugin name using an underscore lcnaf_new</div>
<div>2. go to fronted/controllers change that file name to lcnaf_new_controller and change LcnafController to LcnafNewController </div>
<div>3. you'll probably have to change the frontend/routes files from lcnaf to lcnaf_new</div>
<div>4. change the config.yml also </div>
<div>5. and then anywhere where it is using the lcnaf controller change it to lcnaf_new probably in frontend/views/index ( this will probably be the most tedious, I changed a couple to test your problem and it worked for the most part but it's possible
 I missed some)</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
</blockquote>
<div><br>
</div>
<div><br>
</div>
</span><div>You probably need to change all of those instances of </div>
<div>  :controller => :lcnaf, :action => :search</div>
<div>in the views template, *including* the ones that look like they are commented out, </div>
<div>because the comments are actually templates that get activated by the javascript. </div>
<div><br>
</div>
<div>But Rails routing is difficult enough that I was having trouble figuring out what exactly was </div>
<div>the main problem in this case. I also was able to reproduce it, but couldn’t find a simple fix. </div>
<div>i.e. the routes in all of those places no longer match up, but I haven’t caught THE significant difference.</div>
<div><br>
</div>
<div><br>
</div>
<div>— Steve Majewski</div>
<div><br>
</div>
<div><br>
</div>
<div><br>
</div>
<br>
<blockquote type="cite">
<div><span class="">
<div dir="ltr">
<div><br clear="all">
<div>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div style="font-size:12.8px">Carlos Lemus</div>
<div style="font-size:12.8px"><font size="1">Application Programmer, Special Collections Technical Services</font></div>
<div style="font-size:12.8px"><font size="1">University Libraries, University of Nevada, Las Vegas</font></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div></span>
_______________________________________________<br>
Archivesspace_Users_Group mailing list<br>
<a href="mailto:Archivesspace_Users_Group@lyralists.lyrasis.org" target="_blank">Archivesspace_Users_Group@lyralists.lyrasis.org</a><br>
<a href="http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group" target="_blank">http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group</a><br>
</div>
</blockquote>
</div>
<br>
</div>

</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr">Alexander Duryee<div>Metadata Archivist</div><div>New York Public Library</div><div>(917)-229-9590</div><div><a href="mailto:alexanderduryee@nypl.org" target="_blank">alexanderduryee@nypl.org</a></div></div></div></div></div>
</div>