Hi,
I created a YUI extension in my theme. It works in localhost but when I deployed in my pre-production server, Moodle can't found the file.
My extension has name:
YUI.add('moodle-theme_planet-togglelistbox', function(Y) [...]
I explored the html generated in my pages to include the javascript of this module. The URL it generates is
and it says that my class is undefined. I opened the url in the browser and I got the contents of the file that are sent to my templates:
// Combo resource moodle/312/theme_planet/yui/togglelistbox/togglelistbox.js not found!
clearly my class is undefined. instead of my code there is an error message
this URL, in my localhost environment, has 308 instead of 312. I don't know how this number is generated.
My file has the correct permissions and owner in the server (LAMP). my dev environment, however, is windows. I thought about common problems like permissions, encoding, not uploading the correct files, etc.
I've been reading through and I saw that yui_combo has had problems in the past. I couldn't figure out what is wrong with my installation. I also tried using on-line YUI libraries.
any hints?