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 <[email protected]> > 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: [email protected] > <mailto:[email protected]> > <[email protected] > <mailto:[email protected]>> on behalf > of Andrew Morrison <[email protected] > <mailto:[email protected]>> > Sent: Thursday, June 9, 2022 12:35 PM > To: [email protected] > <mailto:[email protected]> > <[email protected] > <mailto:[email protected]>> > 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 > [email protected] > <mailto:[email protected]> > 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 > [email protected] > <mailto:[email protected]> > http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group > <http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group>
_______________________________________________ Archivesspace_Users_Group mailing list [email protected] http://lyralists.lyrasis.org/mailman/listinfo/archivesspace_users_group
