[Archivesspace_Users_Group] Customizable Staff-Side Interface?
Chris Fitzpatrick
Chris.Fitzpatrick at lyrasis.org
Wed Mar 5 05:36:10 EST 2014
Hi Chris,
Apologize this one slipped through the cracks. Just noticed it while going through my backlog...
Yes, for modifying the interfacers (both staff and public), you can add files to the plugins/local directory. For example, if you wanted update the frontend's layout, you could add a file to puglins/local/frontend/views/layouts/application.html.erb with your local modifications. This works for controllers and helpers as well.
However, for things that require a lot of logic changes, it might be better to make changes to the code and rebuild rather than a plugin. This might be more work, but it would allow you to add testing to your customized logic.
My initial thought for this notes request was that it require more customization then I first thought...on reflection, I realized this was something that could probably be easily handled in a plugin.
In regards to different themes for different repositories, you could do that, but you would have to add some code to apply the logic to the view. You probably could do this in a helper.
Let me know if you have any questions..
best, chris.
Chris Fitzpatrick | chris.fitzpatrick at lyrasis.org
Developer, ArchivesSpace
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org <archivesspace_users_group-bounces at lyralists.lyrasis.org> on behalf of Prom, Christopher John <prom at illinois.edu>
Sent: Tuesday, February 18, 2014 3:59 PM
To: Archivesspace Users Group
Subject: Re: [Archivesspace_Users_Group] Customizable Staff-Side Interface?
Chris,
Thanks for this note. Can you clarify the procedure would be to modify the staff interface? I read the documentation in the plugins folder:
https://github.com/hudmol/archivesspace/tree/master/plugins
If I am reading this correctly, one should be able to put any local modifications in the 'local' folder, without having to modify the core code to the application, if you use the same folder/file naming convention as in the main part of the app, then rebuild the code. Is that the basic procedure one should follow to modify stuff on the staff side?
Reading your note below, it makes it sound like you should modify the core files, which would then get your code out of sync with the main code base.
One other question I have is whether it is possible to have multiple 'local' versions, so that you can have separate themes for repository a, repository b, repository c, etc.
Chris Prom
On Feb 18, 2014, at 8:38 AM, Chris Fitzpatrick <Chris.Fitzpatrick at lyrasis.org<mailto:Chris.Fitzpatrick at lyrasis.org>> wrote:
Hi Jamie,
Well, I would say the interface is very customizable, but it requires going in editing the source code and rebuilding, so it depends on how comfortable you feel doing that.
What you're looking to do would be in the these files:
https://github.com/hudmol/archivesspace/blob/master/frontend/app/views/resources/_form_container.html.erb
https://github.com/hudmol/archivesspace/blob/master/frontend/app/views/notes/_form.html.erb
The first is the partial for editing/creating a resource. The second is the partial for the resources' note.
You could modify these files to render out the note partials broken out as their own sections.
I can do an example of how this would work if you feel that rebuilding AS from the source.
Or do you think this should be a feature request?
best,chris.
Chris Fitzpatrick | chris.fitzpatrick at lyrasis.org<mailto:chris.fitzpatrick at lyrasis.org>
Developer, ArchivesSpace
http://archivesspace.org/
________________________________
From: archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org> <archivesspace_users_group-bounces at lyralists.lyrasis.org<mailto:archivesspace_users_group-bounces at lyralists.lyrasis.org>> on behalf of Jaime Margalotti <jmargalo at udel.edu<mailto:jmargalo at udel.edu>>
Sent: Monday, February 17, 2014 9:34 PM
To: archivesspace_users_group at lyralists.lyrasis.org<mailto:archivesspace_users_group at lyralists.lyrasis.org>
Subject: [Archivesspace_Users_Group] Customizable Staff-Side Interface?
How customizable is the back-end interface for ArchivesSpace?
I've been getting feedback from our staff and one thing which folks would like to change is the sidebar navigation present when creating new Resources. It currently seems like about 3/4 or more of the collection-level information is dumped into the Notes. Is there a way to break more of these out?
Many thanks,
Jaime
--
Jaime L. Margalotti
Senior Assistant Librarian
Manuscripts and Archives Department University of Delaware Library
Newark, DE 19717-5267
302-831-0554
jmargalo at udel.edu<mailto:jmargalo at udel.edu>
_______________________________________________
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/20140305/072fd659/attachment.html>
More information about the Archivesspace_Users_Group
mailing list