Joomla Report: CssJSCompress Plugin issue with modal popups
So I’ve been battling an issue on and off for several weeks now with a development site that is about to go live.
I’ve installed the latest and most powerful version of the CssJsCompress plugin and, when fully enabled, I’ve seen a drastic increase in my PageSpeed numbers. But when Javascript compression is enabled, I get an impossible failure that would have been devastating to the core functionality of my site.
None of the popup windows worked.
So, I nearly felt stuck with the prospect of sacrificing functionality for speed. No can do.
Then I found this: CssJsCompress X, an updated version of the plugin from the guys at ideas.forjoomla.net.
I’m not a programmer, so I do not fully understand why this makes a difference–something about loading the Javascript below the Title rather than at the end of the head.
Here’s the verbiage:
CssJsCompress is a great extension that you can reduce the loading page for your Joomla site.
However, I had have a problem with the extension in which it is not aware of the page having javascript written directly when it is using framework (e.g MooTools) because the extension loads the compressed javascript file right before the HEAD tag is closed.
That way javascript using a framework becomes error because the framework is loaded after the logic is executed.
So the other day I customised the extension as it loads right after TITLE tag instead. And tadaaaa, this website works with the extension now
![]()
Best part is, it’s free. You just have to go through the typically, very annoying, registration process where you have to access your email to confirm registration, then log back into the site, and proceed to the download page.
Good luck. And please comment if this post solves a similar issue for you.
