JavaScript problem with lesson - Moodle 1.9

JavaScript problem with lesson - Moodle 1.9

بذریعہ Flavio RM -
جوابات کی تعداد: 4

Hi!, I inserted a javascript code in a html editor and disappeared the lesson. I try to find the code to delete it and return everything to normal, but I can not find where. Anyone know how to solve this problem?

Thanks!

درجہ بندی کا اوسط: -
Flavio RM کے جواب میں

Re: JavaScript problem with lesson - Moodle 1.9

بذریعہ Joseph Rézeau -
Core developers کی تصویر Particularly helpful Moodlers کی تصویر Plugin developers کی تصویر Testers کی تصویر Translators کی تصویر

@Flavio,

I'm afraid that since you caused the problem you are the only one who can solve it now.ملا ہوا

What do you mean with "... and disappeared the lesson"? Do you mean you can no longer create a new Lesson activity on your moodle site? or you no longer have access to existing Lessons in a course or what else?

Joseph

Joseph Rézeau کے جواب میں

Re: JavaScript problem with lesson - Moodle 1.9

بذریعہ Flavio RM -

Thanks Joseph...

The second. I cannot access to an existing lesson in a course. So, I cannot delete the javascript code inside this lesson. There is some way to delete this code without HTML Editor?

Flavio RM کے جواب میں

Re: JavaScript problem with lesson - Moodle 1.9

بذریعہ Joseph Rézeau -
Core developers کی تصویر Particularly helpful Moodlers کی تصویر Plugin developers کی تصویر Testers کی تصویر Translators کی تصویر

Can you delete that Lesson? Or maybe you need it and do not want to remove it? Have the students started to answer the Lesson questions?

If you have access to your moodle database through phpMyAdmin, then you might more easily remove the offending Javascript code.

Joseph

Joseph Rézeau کے جواب میں

Re: JavaScript problem with lesson - Moodle 1.9

بذریعہ Flavio RM -

I did that and it works!.. I deleted javascript code from database... thanks!!