santec Posted November 21, 2008 Posted November 21, 2008 (edited) I have a problem with the EduMoodle Theme: when I try to use the HTML editor "popup window" I get a whole host of errors starting with "Unknown toolbar item" see below FIXME: Unknown toolbar item: function (D, C) { D = D || 0; if (D < 0) { D = this.length + D; } C = C || this.length - D; var A = []; for (var B = 0; B < C; B++) { A = this[D++]; } return A; } If I click through all the errors of which there are many, the popup window appears but with a row of additional blank toolbar icons. Moodle Version = 1.92+ Any help would be appreciated as I'd like to make this theme the main theme for my school VLE. Edited November 21, 2008 by santec additional information
danIT Posted November 21, 2008 Posted November 21, 2008 I would suggest that this is a problem with Moodle 1.9 not a problem with the Theme, the theme after all is just a bunch of CSS. Try changing your theme back to the standard Moodle theme and attempt to load the HTML editor again and see if you get the same error.
santec Posted November 23, 2008 Author Posted November 23, 2008 I've got EduMoodle running on three different servers and all have the same problem - I don't have this problem on the standard theme or any of the other themes. Not tried it on a pre 1.92 version, I'll do a 1.8x install and check.
danIT Posted November 23, 2008 Posted November 23, 2008 I suspect there is a problem with header.html, Im going to recreate the file with a better structure. That should do the trick, apologies for more badly (poorly) coded header.
danIT Posted November 24, 2008 Posted November 24, 2008 I've isolated it to a problem with mootools.1.11 .js file im using. To be honest i dont know how to fix it right now, but im working on it.
santec Posted November 24, 2008 Author Posted November 24, 2008 OK Thanks for the updates - good luck on sorting the mootools problem. I might have a play myself, about time I looked into the inner workings of Themes. I need to prise the day apart to free up some time.
danIT Posted December 4, 2008 Posted December 4, 2008 Moodle has been updated fixing the HTML Editor (Enlarged) Javascript errors: Download it here
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now