[EP-tech] Re: ePrints 3.3.x

John Salter J.Salter at leeds.ac.uk
Mon Mar 10 08:53:26 GMT 2014


I think anything in the Plugin dir can be overridden at an archive level.
Copy:
    ~/lib/plugins/EPrints/Plugin/Stats/View/KeyFigures.pm
To:
    ~/archives/ARCHIVEID/cfg/plugins/EPrints/Plugin/Stats/View/LocalKeyFigures.pm
Make your changes.

Edit:
~/archives/ARCHIVEID/cfg/cfg.d/plugins.pl (or some other config file):
$c->{plugin_alias_map}->{"Stats::View::KeyFigures"} = "Stats::View::LocalKeyFigures";
$c->{plugin_alias_map}->{"Stats::View::LocalKeyFigures"} = undef;

NB I haven’t tested this on the stats stuff – hopefully it’ll work OK!

Cheers,
John

From: eprints-tech-bounces at ecs.soton.ac.uk [mailto:eprints-tech-bounces at ecs.soton.ac.uk] On Behalf Of Matthew Brady
Sent: 10 March 2014 00:33
To: eprints-tech at ecs.soton.ac.uk
Subject: [EP-tech] ePrints 3.3.x

Hi All,

I have been merrily customizing various things, e.g., local phrase file, that overrides the default system-wide phrases etc…

Just wondering if the various plugin/perl modules also follow this methodology?  And, if it can be done, where should it be placed?

Eg, I want to make changes to the vanilla file of IRStats2 --> lib/plugins/EPrints/Plugin/Stats/View/KeyFigures.pm


Cheers

Matt



_____________________________________________________________

This email (including any attached files) is confidential and is for the intended recipient(s) only. If you received this email by mistake, please, as a courtesy, tell the sender, then delete this email.



The views and opinions are the originator's and do not necessarily reflect those of the University of Southern Queensland. Although all reasonable precautions were taken to ensure that this email contained no viruses at the time it was sent we accept no liability for any losses arising from its receipt.



The University of Southern Queensland is a registered provider of education with the Australian Government.

(CRICOS Institution Code QLD 00244B / NSW 02225M, TEQSA PRV12081 )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mailman.ecs.soton.ac.uk/pipermail/eprints-tech/attachments/20140310/20e23582/attachment.html 


More information about the Eprints-tech mailing list