I’m working on a module for 1.8 wich have to get an XML file from another server (according to current user’s permissions), change it as JSON file and use the informations to show it in a display.
But when I try to use a basic module to only display a “hello world” as text, I always get an error in the console about ckeditor at line 307. “Uncaught TypeError: Cannot read property ‘getEditor’ of undefined”.
So, why I get this error while I don’t call this ??
When I try to use the text module with just “Hello World” on it, I don’t get an error, but I do get a blank black preview. Tried to highlight it also to see if the text color was not change, but still nothing. Also changed the background to blue and that did not show up either. I do not see any errors in the log, or on my screen.
You have the text_callback defined in your Twig template, but you don’t have a field called ta_text. You need to remove the callback and that should remove the error.
FYI, i’m doing some work in this branch to add a /custom folder where modules can be developed. There is also a bit more information about it filled in the manual.