[Archivesspace_Users_Group] Customization of PUI

Majewski, Steven Dennis (sdm7g) sdm7g at virginia.edu
Fri Jul 20 00:07:22 EDT 2018


Yes. See: 

  https://github.com/archivesspace/archivesspace/tree/master/public#main-navigation-menu <https://github.com/archivesspace/archivesspace/tree/master/public#main-navigation-menu>

and:

  https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L476 <https://github.com/archivesspace/archivesspace/blob/master/common/config/config-defaults.rb#L476>


So, for example, we don’t have any classifications / record_groups, so instead of having a menu item that shows no results,
we have removed that item by adding this to our config/config.rb : 

AppConfig[:pui_hide][:classifications] = true           # disable from nav-bar until it's populated with something


You can change the wording for many of the labels by adding a locales file to local public plugin that overrides some of the values set in public en.yml 

See: 
   https://github.com/archivesspace/archivesspace/blob/master/public/config/locales/en.yml <https://github.com/archivesspace/archivesspace/blob/master/public/config/locales/en.yml>
and:
   https://github.com/archivesspace/archivesspace/blob/master/CUSTOMIZING_THEMING.md#changing-a-few-of-the-text-labels-or-messages <https://github.com/archivesspace/archivesspace/blob/master/CUSTOMIZING_THEMING.md#changing-a-few-of-the-text-labels-or-messages>


— Steve. 



> On Jul 19, 2018, at 8:52 PM, Isabella O'Neill <ioneill at bucknell.edu> wrote:
> 
> Is there a solution to customizing the menu bar in the PUI associated with ArchivesSpace version 2.3.2 and higher? We would like to suppress or remove some of the menu options as well change wording in the default labels.   
> 
> Thanks for your help.
> 
> Isabella
> 
> -- 
> Isabella O'Neill
> Head, Special Collections and University Archivist 
> Library and Information Technology
> Bertrand Library
> Bucknell University
> Lewisburg, PA  17837
> (570) 577-3101
> Fax (570) 577-3313
> 
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org
> http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180720/fa166af5/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 6091 bytes
Desc: not available
URL: <http://lyralists.lyrasis.org/pipermail/archivesspace_users_group/attachments/20180720/fa166af5/attachment.bin>


More information about the Archivesspace_Users_Group mailing list