Quiz Reports Plugin

Quiz Reports Plugin

Napisane bez: Carlo Martini ()
Liczba ôdpowiedzi: 2

Hello,
I need to code a quiz reports subplugin, but the documention is very scantly (https://docs.moodle.org/dev/Quiz_reports).

I tried to define the display() public function, but when visiting http://.../mod/quiz/report.php?id=cmid&mode=name (where "name is something like "my-plugin") I just see the usual report and nothing else. 

Could you suggest a simple plugin to study for this kind of activity? Thank you

W ôdpowiedzi na Carlo Martini

Re: Quiz Reports Plugin

Napisane bez: Marcus Green ()
Ôbrŏz Core developers Ôbrŏz Particularly helpful Moodlers Ôbrŏz Plugin developers Ôbrŏz Testers
Try purging caches
W ôdpowiedzi na Marcus Green

Ri: Re: Quiz Reports Plugin

Napisane bez: Carlo Martini ()

Truth is, I had not set the "dev configuration":

$CFG->debug = E_ALL;
$CFG->debugdisplay = 1;
$CFG->langstringcache = 0;
$CFG->cachetemplates = 0;
$CFG->cachejs = 0;
$CFG->perfdebug = 15;
$CFG->debugpageinfo = 1;
Solved now... Thanks!