EPrints Technical Mailing List Archive

See the EPrints wiki for instructions on how to join this mailing list and related information.

Message: #08288


< 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 David,

Thank you for your suggestion. It works well

Best regards,
Agung Prasetyo Wibowo

On Wed, Aug 5, 2020 at 12:46 PM David R Newman <drn@ecs.soton.ac.uk> wrote:

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