Custom survey module + graphs??

Custom survey module + graphs??

by L H -
Number of replies: 0

Hi all,

I have been working on a small module for custom surveys called evaluation which is (at present) basically just the survey module with the word "survey" replaced with "evaluation" in the code.

All is well apart from the graphs no longer work. They work fine for the survey module just not this evaluation version.

I have also noticed that any error in the graph.php file isnt reported it simply just dosnt display the graph. I.E when I changed a check for a valid $CM (course_module) no error message is displayed this also is true for any "echo" commands...

Does anyone know what could be causing the graphs to fail for the evaluation module. I should mention that the DB tables are identical to the survey module, just survey has been replaced with evaluation. Also the surveys themselves work fine when taken.

Any help here greatly appreciated

Average of ratings: -