[Archivesspace_Users_Group] Frontend specific hooks
James Bullen
james at hudmol.com
Thu Jun 9 19:42:25 EDT 2022
Hi Andrew,
Thanks Joshua. Yes, some of those hooks were introduced as part of our work for QSA - the most heavily customized instance of ArchivesSpace we’ve done. Here is an example of register_plugin_section being used:
https://gitlab.gaiaresources.com.au/qsa/as_runcorn/-/blob/develop/frontend/plugin_init.rb#L36 <https://gitlab.gaiaresources.com.au/qsa/as_runcorn/-/blob/develop/frontend/plugin_init.rb#L36>
I hope that helps.
Cheers,
James
> On Jun 10, 2022, at 4:01 AM, Joshua D. Shaw <Joshua.D.Shaw at dartmouth.edu> wrote:
>
> Ooooh! Not examples off the top of my head, but I'm definitely gonna make a lot of use of these! You might take a look at the HM repos (https://github.com/hudmol <https://github.com/hudmol>) or here:https://gitlab.gaiaresources.com.au/qsa <https://gitlab.gaiaresources.com.au/qsa> (also a lot of HM work) since I'm pretty sure they added those plugin hooks.
>
> jds
>
> 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 Andrew Morrison <andrew.morrison at bodleian.ox.ac.uk <mailto:andrew.morrison at bodleian.ox.ac.uk>>
> Sent: Thursday, June 9, 2022 12:35 PM
> To: archivesspace_users_group at lyralists.lyrasis.org <mailto:archivesspace_users_group at lyralists.lyrasis.org> <archivesspace_users_group at lyralists.lyrasis.org <mailto:archivesspace_users_group at lyralists.lyrasis.org>>
> Subject: [Archivesspace_Users_Group] Frontend specific hooks
>
> Hello,
>
> Does anybody know of any example code which demonstrates use of the new
> frontend specific hooks which were introduced, I believe, in 3.1.0:
>
> https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchivesspace.github.io%2Ftech-docs%2Fcustomization%2Fplugins.html%23frontend-specific-hooks&data=05%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C42f703ebc2f1459840d408da4a361ba7%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637903893500581190%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JMcChTi%2Bimp9qr%2FgiLocScgwJ6hrjBgH6D9wftx2kQo%3D&reserved=0 <https://nam12.safelinks.protection.outlook.com/?url=https%3A%2F%2Farchivesspace.github.io%2Ftech-docs%2Fcustomization%2Fplugins.html%23frontend-specific-hooks&data=05%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C42f703ebc2f1459840d408da4a361ba7%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637903893500581190%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=JMcChTi%2Bimp9qr%2FgiLocScgwJ6hrjBgH6D9wftx2kQo%3D&reserved=0>
>
> Thanks,
>
> Andrew.
>
>
> _______________________________________________
> Archivesspace_Users_Group mailing list
> Archivesspace_Users_Group at lyralists.lyrasis.org <mailto:Archivesspace_Users_Group at lyralists.lyrasis.org>
> https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=05%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C42f703ebc2f1459840d408da4a361ba7%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637903893500581190%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=plnv%2F7BsK15G9Z095WA8lAbZmhKCFBsuQB79iVpu3LM%3D&reserved=0 <https://nam12.safelinks.protection.outlook.com/?url=http%3A%2F%2Flyralists.lyrasis.org%2Fmailman%2Flistinfo%2Farchivesspace_users_group&data=05%7C01%7Cjoshua.d.shaw%40dartmouth.edu%7C42f703ebc2f1459840d408da4a361ba7%7C995b093648d640e5a31ebf689ec9446f%7C0%7C0%7C637903893500581190%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=plnv%2F7BsK15G9Z095WA8lAbZmhKCFBsuQB79iVpu3LM%3D&reserved=0>
> _______________________________________________
> 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 <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/800e75db/attachment.html>
More information about the Archivesspace_Users_Group
mailing list