[Archivesspace_Users_Group] Removing Repositories Tab

Suda, Phillip J psuda1 at tulane.edu
Tue Aug 25 15:38:15 EDT 2015

Thanks Maura. I was just digging into this when you sent your email! I will let you know if it works in 1.3.0, etc.


From: archivesspace_users_group-bounces at lyralists.lyrasis.org [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org] On Behalf Of Maura Carbone
Sent: Tuesday, August 25, 2015 2:34 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Removing Repositories Tab

Hi Phillip,
You'd need to do this as a plugin, and modify the _header.html.erb file, deleting the line:

<li <% if params["type"]==="repository"%> class="active" <% end%>><%= link_to I18n.t("repository._plural"), {:controller => :search, :action => :search, :type => "repository"} %></li>

If you already have a plugin folder loading that is modifying your public view, you can add this to the appropriate sub-directory. The directory structure for 1.1.2 was:

[plugin_name]->public->views->site-> _header.html.erb

I don't know if this has changed at all in later versions, so if so that may not work. Then you just add the plugin to the plugins directory, and add it to the list of plugins to load in your config.

On Tue, Aug 25, 2015 at 3:17 PM, Matthew J Gorzalski <mGorzalski at lib.siu.edu<mailto:mGorzalski at lib.siu.edu>> wrote:

I’ve seen it done but we haven’t attempted hiding fields yet.  Not quite there yet.  See http://archivesspace.vmi.edu/


From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> [mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>] On Behalf Of Suda, Phillip J
Sent: Tuesday, August 25, 2015 2:12 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>>
Subject: [Archivesspace_Users_Group] Removing Repositories Tab

Good afternoon,

               Considering the confusion and problems with functionality between the Repository Tab and the Collections Tab, has anyone simply removed the Repositories Tab in the Public Interface? Users can then facet/filter by repository from the Collections Tab facets. Curious to know if people have done this AND what steps you took.



Phillip Suda
Systems Librarian
Howard-Tilton Memorial Library
Tulane University
psuda1 at tulane.edu<mailto:psuda1 at tulane.edu>

Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>

Maura Carbone
Digital Initiatives Librarian
Brandeis University
Library and Technology Services
(781) 736-4659
415 South Street, (MS 017/P.O. Box 549110)
Waltham, MA 02454-9110
email: mauraa at brandeis.edu<mailto:mauraa at brandeis.edu>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20150825/5ffd6936/attachment.html>

More information about the Archivesspace_Users_Group mailing list