<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<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;}
@font-face
{font-family:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;}
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;}
code
{mso-style-priority:99;
font-family:"Courier New";}
p.msonormal0, li.msonormal0, div.msonormal0
{mso-style-name:msonormal;
mso-style-priority:99;
mso-margin-top-alt:auto;
margin-right:0in;
mso-margin-bottom-alt:auto;
margin-left:0in;
font-size:12.0pt;
font-family:"Times New Roman",serif;}
span.EmailStyle19
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F4E79;}
span.EmailStyle20
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:#1F497D;}
span.EmailStyle21
{mso-style-type:personal;
font-family:"Calibri",sans-serif;
color:windowtext;}
span.pl-c
{mso-style-name:pl-c;}
span.pl-c1
{mso-style-name:pl-c1;}
span.pl-k
{mso-style-name:pl-k;}
span.EmailStyle25
{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:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">Thanks for this very helpful information. Using your information I was able to suppress items on the top menu – I must have used the wrong entry before.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">And thanks for the information on the plugin for the footer. Is this something I would place in the plugins/local/frontend/views directory?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Henry Steele<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Systems Librarian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Tufts University Library Technology Services<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">(617)627-5239<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> archivesspace_users_group-bounces@lyralists.lyrasis.org <archivesspace_users_group-bounces@lyralists.lyrasis.org>
<b>On Behalf Of </b>Custer, Mark<br>
<b>Sent:</b> Tuesday, August 13, 2019 8:51 AM<br>
<b>To:</b> Archivesspace Users Group <archivesspace_users_group@lyralists.lyrasis.org><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] trying to remove several links in PUI<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Henry,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">If that line is uncommented by removing the # characters, then the “Accessions” tab should (hopefully!) be removed from the navigation menu. Here’s the setting that we’re currently using for our navigation menu:<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">AppConfig[:pui_hide] = {<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> repositories: false,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> resources: false,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> digital_objects: true,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> accessions: true,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> subjects: false,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> agents: false,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> classifications: true,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> search_tab: false,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> accession_badge: true,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> record_badge: true,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> container_inventory: false,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> classification_badge: true,<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">}<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As for the “pui_enable_staff_link” setting, I *<b>think</b>* that setting just governs the “Staff Only” edit button that will appear in the PUI interface if a user is also logged into the corresponding ASpace staff interface in the same
browser (which is actually my favorite feature of the PUI right now <span style="font-family:"Segoe UI Emoji",sans-serif">
😊</span>). I’ve attached a screenshot that shows that looks like, to be clear.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">As for the “Visit ArchivesSpace.org” link, I think that might have to be overridden in a view with a plugin? See
<a href="https://github.com/archivesspace/archivesspace/blob/master/public/app/views/shared/_footer.html.erb">
https://github.com/archivesspace/archivesspace/blob/master/public/app/views/shared/_footer.html.erb</a> (it doesn’t look, to me at least, like a setting could override whether that staff link displays, but you could remove it with it with a plugin that overrides
that view with a footer of your own design). We’re back on version 2.4, so I don’t actually recall. What version of ArchivesSpace are you on?
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Also, in case it helps, here’s most of our config.rb settings:
<a href="https://github.com/YaleArchivesSpace/aspace-deployment/blob/master/prod/config.rb">
https://github.com/YaleArchivesSpace/aspace-deployment/blob/master/prod/config.rb</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">All my best,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Mark<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> [<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org</a>]
<b>On Behalf Of </b>Steele, Henry<br>
<b>Sent:</b> Monday, 12 August, 2019 4:18 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> Re: [Archivesspace_Users_Group] trying to remove several links in PUI<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F497D">I’m also trying to remove some items from the top menu, and although by default they seem to be suppressed in the config file, they still appear.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">## Don't display the accession ("unprocessed material") link on the main navigation menu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">## AppConfig[:pui_hide][:accessions] = true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<p class="MsoNormal"><span style="color:#1F497D">Henry Steele<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Systems Librarian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Tufts University Library Technology Services<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">(617)627-5239<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b>From:</b> <a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">
archivesspace_users_group-bounces@lyralists.lyrasis.org</a> <<a href="mailto:archivesspace_users_group-bounces@lyralists.lyrasis.org">archivesspace_users_group-bounces@lyralists.lyrasis.org</a>>
<b>On Behalf Of </b>Steele, Henry<br>
<b>Sent:</b> Monday, August 12, 2019 4:08 PM<br>
<b>To:</b> Archivesspace Users Group <<a href="mailto:archivesspace_users_group@lyralists.lyrasis.org">archivesspace_users_group@lyralists.lyrasis.org</a>><br>
<b>Subject:</b> [Archivesspace_Users_Group] trying to remove several links in PUI<o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F4E79">Good afternoon,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">I have been trying to remove several links in the PUI of our dev ArchivesSpace instance here at Tufts. I was able to remove the help link, but according to the documentation at
</span><a href="https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchivesspace.github.io%2Farchivesspace%2Fuser%2Fconfiguring-archivesspace%2F%23AppConfig%255B%253Apui_enable_staff_link%255D&data=02%7C01%7Cmark.custer%40yale.edu%7Ca9a7d90f97284900a31808d71f6223b1%7Cdd8cbebb21394df8b4114e3e87abeb5c%7C0%7C1%7C637012378693875277&sdata=MD1xKgS9fr9X2gqkP8S0zboTkTlb%2B%2B4%2F0Dn%2FOpyW5l8%3D&reserved=0">https://archivesspace.github.io/archivesspace/user/configuring-archivesspace/#AppConfig%5B%3Apui_enable_staff_link%5D</a>
<span style="color:#1F4E79">I should be able to suppress the link back to the staff interface with this line<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;background:#FAFAF8">AppConfig[:pui_enable_staff_link] = false<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;background:#FAFAF8"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">By changing the value to false as I have here, and uncommenting it. However, despite restarting the interface, this change has not taken effect. Has anyone had similar issues, or do you know if there are other
steps involved in removing this links, as well as the link to “Visit ArchivesSpace.org”?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Courier New";color:gray;background:#FAFAF8"><o:p> </o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span style="color:#1F4E79"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Henry Steele<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Systems Librarian<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">Tufts University Library Technology Services<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F4E79">(617)627-5239<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>