Javascropit compression

GK User
Sat Jul 12, 2014 1:02 pm
Using CSS compression and Joomla compression.

If I use Javascript compression in the template it will stop the Image Show GK4 showing the slides.

It says I can exclude CSS/JS - but I am not sure how it works - do I just use the name of the module?

Thanks

Ian
User avatar
Expert Boarder

GK User
Sun Jul 13, 2014 10:48 am
Please check this documentation:
https://www.gavick.com/documentation/jo ... -settings/
also you might find below thread useful:
https://www.gavick.com/forums/security- ... 27894.html
User avatar
Moderator

GK User
Mon Jul 14, 2014 10:41 am
Thanks Cyberek

I have read one of the articles, but my problem is not understanding which file name to use. These do not appear to be module names - so which file name would I use to exclude a single module?

com_k2/css/k2.css, system/js/mootools-core.js
User avatar
Expert Boarder

GK User
Tue Jul 15, 2014 1:59 pm
You can use chrome developer tools or firebug for firefox to search through available module files (in chrome you can check in sources tab) - when compression is disabled - you should see each file separately:
Screen Shot 2014-07-15 at 14.57.53.png
User avatar
Moderator

GK User
Wed Jul 16, 2014 10:20 am
Hi Cyberek,

What file name do we use to exclude that module from Javascript compression?
User avatar
Expert Boarder

GK User
Mon Jul 21, 2014 6:16 am
If you enter to the exclude fields:
Code: Select all
gk.menu.js, engine.js

Then 2 files will be excluded:
modules/mod_image_show_gk4/styles/gk_university/engine.js
templates/gk_university/js/gk.menu.js

The function excludes from compression all files which nam match any name given in template settings.
User avatar
Moderator


cron