gradebook overview report - add cumulative percentage total to the screen

gradebook overview report - add cumulative percentage total to the screen

by Aaron Johnson -
Number of replies: 1

I am trying to hack the source code for the overview report on our Moodle 2.2 installation so that it will show a cumulative percentage for a student for all enrolled courses. The end result should look something like this:

 

I am not a programmer and so in the spirit of open source I was hoping a developer or community member would be able to help me with this.

I believe the right place to start is in /grade/report/overview/lib.php and I've found that I can insert echo statements just above line 174:

               $this->table->add_data($data);
            }
-> possible insertion point
            return true;

But I know very little php and figuring out how to make it calculate the sum of the percentages and then average them might be difficult for me but would likely take a developer minutes to figure out.

Any help would be greatly appreciated smile

In reply to Aaron Johnson

Re: gradebook overview report - add cumulative percentage total to the screen

by feydhoo school -

Hi Johnson,

I am site admin of feydhoo school. We wish to get a cumulative grade in the overview report. tell me how to do it? is it possible ?

Ali