I’m posting here, because I’ve tried the joomla forums and not got any response. You guys are javascript guys.
I’m having some issues on a site. A module stopped working. The most I’ve gotten out of the developer is that they’re saying the module can’t load it’s javascript files.
I’ve checked the headers, and the calls to the scripts are present. I’ve tried to replicate the problem on a test site, but despite installing all the same templates, modules and components, the module is performing fine on the test site.
On the live site, the module is coming out completely mangled. This persists across templates (I have two separate copies with slight modifications) and on different pages which load different modules.
[url]http://canwestenglish.com/index.php/en/classes
I’ve also compared the headers to the test site on which its working and can’t find any obvious issues calling the script files. The syntax is the same.
This module was working fine for 2 days and then suddenly stopped working. The only thing I did was install google analytics and an associated plugin (which puts javascript in the header). I uninstalled those and it continues not to work, and installing those same modules on the test site doesn’t give it any problem.
Could someone who is far better at javascript than me have a look at the headers on this page, and see if there is something they notice as being wrong that might stop the javascript files from being loaded. I’ve checked the files themselves, they’ve been untouched according to the FTP modified dates. I even went ahead and uninstalled the module and reinstalled it still doesn’t work. I will note that some javascript still seems to be working on the page as mousing over the mangled blue words will get you the pop-up that is supposed to be associated with them.
You can see what this module is supposed to look like here:
[url]http://demo.smartaddons.com/extensions/joomla17/index.php?option=com_content&view=featured&Itemid=633
theme4. Unfortunately the dev who wrote and sold this, doesn’t work on weekends, so I’m on my own with a mangled live site for a couple days.
Any help is greatly appreciated.
if someone wants, I’ll cut and paste the whole header here, but it’s a fairly long bit of code as the module loads it’s various styles into the header (not sure why) and I think you need to look at the whole thing to see if something somewhere is out of place and stopping those files from loading.