Veer Shrivastav
Veer Shrivastav

Reputation: 5496

Moodle - CkEditor is not coming for dynamically created courses

I am new to Moodle, I have been developing a learning management system from past couple of weeks, which includes direct tweaks in the core code of moodle.

I have set of courses which has to be created from the backend of MySQL. When I am trying to create a course from MySQL (Not Website), then while editing the course, ckeditor doesn't come. It is a plain TextArea with an additional dropdown.

I am not able to understand, why is it coming like that? I have populated all proper data in the table. Is there something else which has to be done apart from just populating summary field in mdl_course table.?

Thank you.

Upvotes: 0

Views: 79

Answers (2)

Toosa
Toosa

Reputation: 1

Sometimes it caused by 'old cache', try full refresh browser, [Shift]-F5. Or clean you browser cache. If you use firefox (I use firefox version 33) : Menu (hamburger icon on top right) > Preferences > Advance > Network > Clear now (Cache web content)

Upvotes: 0

scyrma
scyrma

Reputation: 312

First ... is the "text editor" option in your profile correctly set to atto or ckeditor?

Then, I wonder which field or page on which you want to see an html text editor show up. I'm thinking you are looking at the "summary" field. If so, make sure the "summaryformat" column is set to 1. While 0 is for "Moodle format", 1 stands for "HTML format".

Hopefully, this helps!

Upvotes: 1

Related Questions