EPrints Technical Mailing List Archive

Message: #00352


< 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


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 through


On 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)




--

Ian Stuart.
Developer: Open Access Repository Junction and OpenDepot.org
Bibliographics and Multimedia Service Delivery team,
EDINA,
The University of Edinburgh.

http://edina.ac.uk/

This email was sent via the University of Edinburgh.

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.