EPrints Technical Mailing List Archive

Message: #08285


< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First

Re: [EP-tech] Remove new version button


Hi Agung Prasetyo W,

You should be able to do this by adding the following line to your archive's cfg/cfg.d/plugins.pl or create a new file with any filename ending .pl in this directory (something like z_no_new_version.pl is probably the best choice, as the z prefix ensure it applies as late as possible, so it cannot be overridden by another configuration file):

$c->{plugins}->{"Screen::EPrint::NewVersion"}->{params}->{disable} = 1;

Regards

David Newman


On 05/08/2020 00:58, Ajunk Pracetio via Eprints-tech wrote:
Hi,

Can we remove/disable new version button on Action tab from eprints?

Thank you.

Regards,
Agung Prasetyo W

*** Options: http://mailman.ecs.soton.ac.uk/mailman/listinfo/eprints-tech
*** Archive: http://www.eprints.org/tech.php/
*** EPrints community wiki: http://wiki.eprints.org/

Virus-free. www.avg.com