EPrints Technical Mailing List Archive
Message: #00353
< Previous (by date) | Next (by date) > | < Previous (in thread) | Next (in thread) > | Messages - Most Recent First | Threads - Most Recent First
[EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- To: eprints-tech@ecs.soton.ac.uk
- Subject: [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- Date: Wed, 04 Apr 2012 16:41:04 +0100
Maybe because IRStats lives outside EPrints (in other words it won't load your local patch)?
If you add your local change to cgi/irstats.cgi (what loads IRStats so put your code after "use IRStats;") then it could work.
Seb. On 04/04/12 16:20, Ian Stuart wrote:
On 04/04/12 16:06, Sebastien Francois wrote:IRStats caches lots of stuff, so clear your cache also (archives/[id]/var/irstats/[cache|graphs]/*)Nope - not that.... 'cos if I alter the "original" renderer, the changes come throughOn 04/04/12 15:56, Ian Stuart wrote:Hmmmm does not appear to be playing: in ~/archives/[ID]/cfg/cfg.d/irstats.pl I added # My replacement chartdirector_render (see end of file) *IRStats::Visualisation::Graph::Line::chartdirector_render = \&my_chartdirector_render; ... and then sub my_chartdirector_render { .... exactly the same routine, but without the title element } Not playing ball (yes: saved both files, and restarted apache)
- References:
- [EP-tech] Altering DajaObj/Eprint.pm behaviour without altering core code
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: John Salter <J.Salter@leeds.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Sebastien Francois <sf2@ecs.soton.ac.uk>
- [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- From: Ian Stuart <Ian.Stuart@ed.ac.uk>
- [EP-tech] Altering DajaObj/Eprint.pm behaviour without altering core code
- Prev by Date: [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- Next by Date: [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- Previous by thread: [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- Next by thread: [EP-tech] Re: Altering DajaObj/Eprint.pm behaviour without altering core code
- Index(es):