template/advanced settings / excluded js question

Questions related to the configuration of Joomla, Templates, and Security related questions/issues
Rate this topic: Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.Evaluations: 0, 0.00 on the average.
GK User
Thu Aug 08, 2013 4:06 pm
Hello

working on template musicfree template for joomla 2.5 latest version

I am trying to exclude a js script from being compressed under the template/advanced settings/excluded JS parameter.

this js script is located in a a module. thus /modules/module1/assets/scriptxxx.js


at present , i tried several path options like

../../../modules/module1/.....

it still adds the js in the compressed js.

1. is it possible to prevent a js located in the standard joomla module folder to not be added ?

2. if yes what would be the correct path.
i can't seem to find the correct info to put in the parameter.

it does not get excluded form the compresssion


thank you
User avatar
Fresh Boarder

teitbite
Fri Aug 09, 2013 6:46 am
Hi

Lets start from the path examples presented in documentation.

Exclude JS/CSS – you can specify which files have to be switched on within compression – in the case of a greater amount of files, you will have to list them out by separating them with a commas, e.g.: com_k2/css/k2.css, system/js/mootools-core.js


https://www.gavick.com/documentation/jo ... -settings/

If this will not work send me an access to joomla panel and let me know exactly which file You want to exclude.
User avatar
Moderator

GK User
Sat Aug 10, 2013 10:44 am
Hello

Thank you for your answer

well let us start with the very basic compression using only the template own files.

i just noticed that if i turn on the js compression, the template does not work anymore.

ie all the modules in the sidebar position do not load on the home page.

thus i am wondering if it could be a problem with the apache module used.
(however i even doubt that the js compression even works on gavick template because it is not enabled on the gavick demo site for the template musicfree. they only enabled the css compression)

thus before even trying to work with my own modules js. i think the first step is to confirm that a new installed site with the quick install from the gavick site even works.

are you able to confirm that you installed a working version of the muscifree joomla 2.5 template with js compression enabled ? on my end it does not work on our current server configuration.

as soon as i turn on the js compression in the template parameters, the sidebar modules do not load anymore
on all the pages of the site.
and it is tested on the quick install directly from gavick without installing anything else.

regards
User avatar
Fresh Boarder

teitbite
Mon Aug 12, 2013 8:02 am
Hi

Im able to see working site if i configure site and modules to use jQuery or Mootools based extensions only. There is a conflict with both this libraries are compressed together. But this is a problem visible also with JCH or JFinalizer. You can check this 2 plugins. Maybe this will solve the problem faster. Meanwhile send me an access to joomla panel. Ill try to configure it the same way as my copy.
User avatar
Moderator


cron