hello, I have made a mechanism for tagging and searching quizes. Each quize's tags are produced by the sum of its questions tags. Now if we take the case where a question is edited then, the quizes tags should change as well. So i need to find the part of the code where the questions is edited and then, saved. I am currently trying some changes on question.php at line 250 where it says:
>$question = $QTYPES[$question->qtype]->save_question($question, >$fromform);
>if (!empty($CFG->usetags) && isset($fromform->tags)) {
>// A wizardpage from multipe pages questiontype like calculated may >not
>// allow editing the question tags, hence the isset($fromform->tags) >test.
>require_once($CFG->dirroot.'/tag/lib.php');
>tag_set('question', $question->id, $fromform->tags);
It doesnt seem right though...Any recommendations?
Thanks in advance.
Marigianna