Progress Indicator

Progress Indicator

by Jim Jenkins -
Number of replies: 3

I've been digging around and not found anything yea or nay.  Is there a module or feature that tells a student how far they have progressed through a course?  For example as they complete topics, they see a progress bar that says 50% complete.

|------------50%-----------|

Or for the optimisitc

|------------------50%-----|

Or for the pessimistic

|--50%---------------------|

Average of ratings: -
In reply to Jim Jenkins

Re: Progress Indicator

by Cory Gordon -

Am also looking for the same progress indicator...have you managed to figure this one out yet? Does anyone else have any ideas?

thanks

In reply to Cory Gordon

Re: Progress Indicator

by Audun Hauge -
I have a report I use for a new course format (workbook).
It shows a progress report (see picture).
It should not be too difficult to adapt for weekly or topics.
It roughly gives 1*percent for any mod that gives a score.
You get summaries for each section. Clicking on a user-name drills down and shows
detailed scores for each activity.
You can most likely achieve something similar if you make a custom report in the gradebook. I haven't tried that myself - the code there seems to be changing rather rapidly for the moment.
Attachment progress.png
In reply to Audun Hauge

Re: Progress Indicator

by Audun Hauge -
Testing a bit with editing course/lib.php version 1.9 and modifying print_section(
I added these lines (new in blue):
1370 $linkcss = $mod->visible ? "" : " class=\"dimmed\" ";
1371 echo '<a '.$linkcss.' '.$extra. // Title unnecessary!
1372 ' href="'.$CFG->wwwroot.'/mod/'.$mod->modname.'/view.php?id='.$mod->id.'">'.
1373 '<img src="'.$icon.'" class="activityicon" alt="" /> <span>'.
1374 $instancename.$altname.'</span></a>';
1375
1376 require_once($CFG->libdir.'/gradelib.php');
1377 $grading_info = grade_get_grades($course->id, 'mod', $mod->modname, $mod->instance, $USER->id);
1378 if (isset($grading_info->items[0])) {
1379 $item = $grading_info->items[0];
1380 $grade = $item->grades[$USER->id];
1381 print ' ' . round(100*(($grade->grade-$item->grademin)/($item->grademax-$item->grademin))) . '%';
1382 }


And I now get a percent behind each graded activity.
You could build from there so that a total score is calculated - giving 0 for
each non-graded activity. Extend this to show a progress bar for each section.