EPrints Technical Mailing List Archive
Message: #05051
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Plugins: enabled by default?
- To: "'eprints-tech@ecs.soton.ac.uk'" <eprints-tech@ecs.soton.ac.uk>
- Subject: [EP-tech] Re: Plugins: enabled by default?
- From: John Salter <J.Salter@leeds.ac.uk>
- Date: Mon, 2 Nov 2015 13:51:47 +0000
> I would suggest disabling the plugin in its 'new' function This isn’t a good option. When installing extensions from the Bazaar, people often forget to do this – which means installing anything on a multiple-archive setup is *dangerous*... I’ve tried to trace the ‘disable’ param through EPrints::PluginFactory – but nothing looks out of place. I’d suggest that this is a priority to get fixed in EPrints core. Cheers, John From: eprints-tech-bounces@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk]
On Behalf Of Adam Field Hi Yes, I've noticed this too, recently. It used to be the case but doesn't seem to be any more. I would suggest disabling the plugin in its 'new' function, and enabling it in the local configuration.
See http://bazaar.eprints.org/393/1/plugins/EPrints/Plugin/Export/Hello.pm and
http://bazaar.eprints.org/393/1/epm/hello_test/cfg/cfg.d/z_hello.pl (the bazaar package I wrote for a training video). -- On 2 Nov 2015, at 12:39, John Salter <J.Salter@leeds.ac.uk> wrote:
Hi, From the code below, you can create two screen plugins: PluginTestA: should be disabled by default, but appears to be active when visiting:
http://your_repo/cgi/users/home?screen=PluginTestA |
- Follow-Ups:
- [EP-tech] Re: Plugins: enabled by default?
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Re: Plugins: enabled by default?
- References:
- [EP-tech] Plugins: enabled by default?
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Plugins: enabled by default?
- From: Adam Field <af05v@ecs.soton.ac.uk>
- [EP-tech] Plugins: enabled by default?
- Prev by Date: [EP-tech] Re: Plugins: enabled by default?
- Next by Date: [EP-tech] Re: Plugins: enabled by default?
- Previous by thread: [EP-tech] Re: Plugins: enabled by default?
- Next by thread: [EP-tech] Re: Plugins: enabled by default?
- Index(es):