[Archivesspace_Users_Group] Problem with adding logo

Kevin Clair Kevin.Clair at du.edu
Wed May 20 15:40:30 EDT 2015


Hi Mark,

Did you point the <img> link in _branding.html.erb to your logo image? That may be the problem. Our _branding.html.erb file reads like this, for example:

<div class="container branding">
    <img src="/assets/images/UniversityOfDenver-Signature.png"/>
</div>

With the results visible at http://duarchives.coalliance.org.

-k
________________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org [archivesspace_users_group-bounces at lyralists.lyrasis.org] on behalf of Mark Cyzyk [mcyzyk at jhu.edu]
Sent: Wednesday, May 20, 2015 1:30 PM
To: archivesspace_users_group at lyralists.lyrasis.org
Subject: [Archivesspace_Users_Group] Problem with adding logo

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.


_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org
http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group




More information about the Archivesspace_Users_Group mailing list