<< Back
Message for this thread
Posted by Messages text
Balmer Fred

Avatar
Total post : 15
> Profile
Written on : 04/11/2009 22:40 ( more than one month )
Object : BUG in Courses You Have Finished Screen
Hello,

I am having an issues with students who log in and wnat to see the courses they have finished.  The finished tab on top of the screen works great however when you click in the "Career" box the courses you have finished number, it changes the title at the top of the page to reflect that but not the data.  See the screen shots below.

Cheers...





Message modified by : dado1 on : 05/11/2009 12:40
 
ee hang liang

Avatar
Total post : 144
> Profile
Written on : 22/03/2010 15:40 ( more than one month )
Object : Re: BUG in Courses You Have Finished Screen
I am using 3.6.0.3.

Same problem for me.

From LiangEH
 
ee hang liang

Avatar
Total post : 144
> Profile
Written on : 22/03/2010 16:05 ( more than one month )
Object : Re: BUG in Courses You Have Finished Screen
Hi Balmer Fred,

I found out that If you turn off the Active/Finished courses tab in the User Area module, the click in the Career work perfectly.


From LiangEH
Message modified by : liangeh on : 22/03/2010 16:06
 
ee hang liang

Avatar
Total post : 144
> Profile
Written on : 22/03/2010 18:26 ( more than one month )
Object : Re: BUG in Courses You Have Finished Screen

Hi,

I fix the bug with the modication below.

Edit doceboLMS/modules/course/course.php

around line 68.

$base_url = 'index.php?modname=course&amp;op=mycourses&amp;filter=';
       
//added by liangeh to fix career bug
        if($ma->currentCanAccessObj('lo_tab')) {
                $base_url2 = 'index.php?modname=course&amp;op=mycourses&amp;current_tab=lo_history&amp;filter=';
        } else {
                $base_url2 = 'index.php?modname=course&amp;op=mycourses&amp;filter=';
        }

around line 92.

//added by liangeh to fix career bug $base_url --> $base_url2
            .( isset($course_stats['with_ustatus'][_CUS_END]) && $course_stats['with_ustatus'][_CUS_END] != 0
                ? '<tr><th scope="row">'.$lang->def('_COURSE_END').' :</th><td><a href="'.$base_url2.'end">'.$course_stats['with_ustatus'][_CUS_END].'</a></td></tr>'
                : '' )

From LiangEH

 
<< Back