Enable course completion for all the courses

Enable course completion for all the courses

av Dámaso Velázquez -
Antal svar: 1

Hello, 
i'd like to enable course completion for all the courses.

Could be possible to enable by SQL query?

Thank you. Best Regards.

Medeltalet av utvärderingarna: -
Som svar till Dámaso Velázquez

Re: Enable course completion for all the courses

av Nawras GH -
The Following SQL query will enable the completion for all courses modules (lessons) 


UPDATE `mdl_course_modules` SET `completion`=2, `completionview`=1  WHERE 1;

but you need to enable the completion tracking for each course from course settings page.

*Previous SQL query will enable completion on view activity

**If you want to allow students to mark completion manually: use this query instead

UPDATE `mdl_course_modules` SET `completion`=1  WHERE 1;


Hope this will help you leende

Best regards

Nawras

Medeltalet av utvärderingarna: -