EPrints Technical Mailing List Archive

Message: #02730


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

[EP-tech] Re: ePrints 3.3.x


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@ecs.soton.ac.uk [mailto:eprints-tech-bounces@ecs.soton.ac.uk] On Behalf Of Matthew Brady
Sent: 10 March 2014 00:33
To: eprints-tech@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 )