[EP-tech] Remove new version button

David R Newman drn at ecs.soton.ac.uk
Wed Aug 5 06:46:15 BST 2020


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: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwww.eprints.org%2Ftech.php%2F&data=01%7C01%7C%7Cf7be87923b914d47677708d83902ded1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=y1Y5qDBV%2FFWjOS5TvM0GlCsvvfk%2Bu06dY0iuO2mQi%2FE%3D&reserved=0
> *** EPrints community wiki: https://eur03.safelinks.protection.outlook.com/?url=http%3A%2F%2Fwiki.eprints.org%2F&data=01%7C01%7C%7Cf7be87923b914d47677708d83902ded1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=xuYEzvxvBwk%2FAqFyhpXpBcrQ%2BO8NxbtwCuhYc%2BS8oQw%3D&reserved=0


-- 
This email has been checked for viruses by AVG.
https://eur03.safelinks.protection.outlook.com/?url=https%3A%2F%2Fwww.avg.com%2F&data=01%7C01%7C%7Cf7be87923b914d47677708d83902ded1%7C4a5378f929f44d3ebe89669d03ada9d8%7C0&sdata=EpDyV9Aq7LUcIr55vKrk6atv%2BHHKF9xDnDLb1vUfZ98%3D&reserved=0
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20200805/ae2f6968/attachment-0001.html 


More information about the Eprints-tech mailing list