Hi, for Moodle 2.0, I've seen JavaScript guidelines at http://docs.moodle.org/en/Development:JavaScript_guidelines and http://docs.moodle.org/en/Development:JavaScript_usage_guide Both seem to point to including JavaScript files using PHP. In our enterprise-level hosting of Moodle at a major university, though, we as web developers and users don't have access to modify any PHP files, themes, etc.
Does Moodle 2.0 actually exclude the possibility of referencing external JavaScript files through the text editor? I found that I can paste inline JavaScript into the editor on a page-by-page basis, but I'd like the code to be reusable by putting it into an external file. When I do that, and try to reference it, the text editor strips out the src="" property's value. We used JavaScript files extensively in our 1.9 courses, providing additional interactivity than what Moodle itself has.
Please let me know if you have any suggestions and/or whether this question belongs elsewhere in the forums. Thanks!
Jesse