General developer forum

how to implement my code?

 
Picture of topo gatto
how to implement my code?
 

Hi, I writed a code to show a real time indicator for "time spent in the lesson", but i don't know how to implement this on official moodle repository, i have edited "mod/lesson/view.php" and "mod/lesson/lang/en/lesson.php" file.

Can anyone explain me how to post my code?

Sorry for my bad English and sorry for my duplicate in lesson forum.

 
Average of ratings: -
Picture of Albert Fisher
Re: how to implement my code?
 

Hi,
Can your code work at Course level? 

We use the Configurable Reports plugin. We need to keep track of time spent on our courses, not the lessons. I don't have the skill to produce a report using that plugin which allows us to run a report to show students' time spent on a Course from a particular date to another date. If you could help, it would be much appreciated.

Either at Course level or Lesson level, I am sure it would a useful report for many people who have to report to other people smile

Your English isn't so bad! 

"I writed a code..." should probably be "I have written some code..." 

 
Average of ratings: -