Опубликовано Judy Hsu

Moodle in English -> Testing and QA -> Quickly adding 5000+ dummy courses

от Judy Hsu -
Hi all, sorry for this (possibly) quite simple question. I just did some search with MySQL and it seems that it does not has "for loop" statement like Oracle does. I wonder if there is any quick way that I could quickly populate 5000+ dummy courses into mdl_course table for scaliability testing? Please share with your ideas with me, thanks a lot!
/td> /td> /td> So I assume that there is no quick fix for this issue? I'm looking at the function submissions($mode) in /mod/assignment/lib.php right now (line #553) to see if I could figure out a fix.. am I looking at the right place? What is the function that trigger HTML editor and could I replace this function with another one that simply use plain text editor? Thanks! /td>

Thanks Anthony for your promptly reply.

The reason that we want to replace HTML editor when you enable the "quick grading" is that if instructors graded (commented) the assignment using some BOLD font or something, then when them come back next time and see the Comment area displayed with whole bunch of HTML codes, they might got scared and don't want to use Moodle in the future. Not all instructors know about HTML and when they see HTML codes showing in the comment area they might think Moodle is broken or something (see the screenshot that I attached)...

I know the problem is on around line#45 of Moodle 1.5.4+ /mod/assignment/submissions.php

$assignmentinstance->submissions($mode);  // Display or process the submissions

But don't know how I could change it so that it would just become a plain-text text field input box instead of launching the HTML editor... any ideas? Thanks!

Приложение HTML_screenshot.png