EPrints Technical Mailing List Archive
Message: #07885
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Adding Buttons to Admin Screen
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Adding Buttons to Admin Screen
- From: James Kerwin <jkerwin2101@gmail.com>
- Date: Fri, 14 Jun 2019 15:46:31 +0100
Hi All,
I have a script that I run every two weeks for AAM updates. I'm away when the next update is due so I've decided to create a new button on the Admin screen that runs the script (inspired by the MintDOI button in the DataCite plugin):
(I know it should say "an AAM").
I'm using RegenAbstracts.pm (EPrints::Plugin::Screen::Admin::RegenAbstracts;) as a rough guide.
I had assumed that this would call "generate_abstracts" but it appears to look at "config/regen_abstracts":
Does anybody know how I can get it to point at my script? I must admit that I'm not sure where "config/regen_abstracts" is pointing and I've done so many greps to find it. If I could find how looking to that causes the abstracts to be generated I could copy that approach.sub allow_regen_abstracts{my( $self ) = @_;return $self->allow( "config/regen_abstracts" );}
Thanks,
James
- Follow-Ups:
- [EP-tech] Adding Buttons to Admin Screen
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Adding Buttons to Admin Screen
- References:
- [EP-tech] Adding Buttons to Admin Screen
- From: James Kerwin <jkerwin2101@gmail.com>
- [EP-tech] Adding Buttons to Admin Screen
- Prev by Date: Re: [EP-tech] indexer and csrf problem
- Next by Date: Re: [EP-tech] Adding Buttons to Admin Screen
- Previous by thread: [EP-tech] Sort view with creators_name and corp_creators
- Index(es):