[Archivesspace_Users_Group] Problem with adding logo

Mark Cyzyk mcyzyk at jhu.edu
Wed May 20 15:30:58 EDT 2015


All,

I am trying to add our logo to the top of our ArchivesSpace instance and 
am thoroughly confused!  I am using these directions:

> A good first place to go is the layouts/application.html.erb file, 
> which is the Rails default layout for the entire site. Looking through 
> this file, we can see the branding is being rendered in the 
> site/branding.html.erb file, which is a very simple file with pretty 
> much just a link and image tag.
>
> So, first let's add out image file to the 
> "plugins/local/public/assets/images/my_archive/logo.png" then let's 
> override the default view by making a file in 
> plugins/local/public/views/site/_branding.html.erb


(This is from the "Customizing and Theming ArchivesSpace" doc on the 
Website...)

First off, I do not have a /layouts/ directory anywhere in my 
ArchivesSpace directory tree.

More, I did not have a /plugins/local/public/assets/images/my_archive/ 
directory, so I created one.  Still more, I did not have a 
/plugins/local/public/views/site/ directory so I created one.

I then put my logo.png file in 
/plugins/local/public/assets/images/my_archive/.

I then put my _branding.html.erb file in 
/plugins/local/public/views/site/.  (I'm assuming that underscore 
character at the beginning of _branding.html.erb is crucially significant.)

I chown'ed and chgrp'ed these directory trees and the files in them.  
All is well.

I rebooted my ArchivesSpace instance and waited for the moment when I 
would spin in my chair in triumphant glee.

No joy!  Same ArchivesSpace logo at top.

Not sure what I'm doing wrong.  Advice much appreciated.

Mark

-- 

<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Mark Cyzyk, M.A., M.L.S.
Scholarly Communication Architect
User Interface Applications Group
The Sheridan Libraries
The Johns Hopkins University
mcyzyk at jhu.edu

Verba volant, scripta manent.





More information about the Archivesspace_Users_Group mailing list