[Archivesspace_Users_Group] Create directories for branding resources?

Kyle Breneman kbreneman at ubalt.edu
Fri Jun 10 10:23:42 EDT 2022


Dear James,

Yes, this is very helpful!  Thank you for taking the time to reply to my question.

I’ve now got my branding changes in place under the /local plugin directory.

How do I go about including our Google Tag Manager tracking snippet?  I need to insert code in the <head> of each page, and also right after the opening <body> tag.  Should that also be done via the /local plugin files?  If so, which file(s)?  I couldn’t find documentation on this.

Regards,

Kyle Breneman
Integrated Digital Services Librarian
The University of Baltimore
kbreneman at ubalt.edu<mailto:kbreneman at ubalt.edu>
I believe in freedom of thought and
freedom of speech. Do you?

From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> On Behalf Of James Bullen
Sent: Thursday, June 9, 2022 7:49 PM
To: Archivesspace Users Group <archivesspace_users_group at lyralists.lyrasis.org>
Subject: Re: [Archivesspace_Users_Group] Create directories for branding resources?

[EXTERNAL EMAIL: This message originated from a non-UBalt email system. Hover over any links before clicking and use caution when opening attachments.]


Hi Kyle,

Those directions are written assuming you’re working on a development instance. When you’re running from a distribution the file paths referred to are contained in war files, so you don’t see them.

You do not need to create public/app/views/shared/_header.html.erb - that exists within wars/public.war

To override that file you would place your new version in plugins/yourplugin/public/views/shared/_header.html.erb

Hope that helps.


Cheers,
James



On Jun 10, 2022, at 3:05 AM, Kyle Breneman <kbreneman at ubalt.edu<mailto:kbreneman at ubalt.edu>> wrote:

I’m trying to follow these directions<https://archivesspace.github.io/tech-docs/customization/theming.html> for customizing our ArchivesSpace 3.2.0 instance.

While the directions clearly state that some/all of the directories in the path to store a branding image will need to be created, I was not expecting to need to create the public/app/views/shared/_header.html.erb file, or those directories, yet they do not seem to exist in my installation (below). Should I proceed to create these directories, along with the _header.html.erb file?

<image001.png>

Kyle Breneman
Integrated Digital Services Librarian
The University of Baltimore
kbreneman at ubalt.edu<mailto:kbreneman at ubalt.edu>
I believe in freedom of thought and
freedom of speech. Do you?

_______________________________________________
Archivesspace_Users_Group mailing list
Archivesspace_Users_Group at lyralists.lyrasis.org<mailto: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/20220610/1f61c111/attachment.html>


More information about the Archivesspace_Users_Group mailing list