The module comes with an example in includes\templates\YOUR_TEMPLATE\auto_loaders
Basically you will have to place a new file in the auto_loaders folder, this file must have the form: loader_something.php
The content of the file should look exactly like the sample file.
Currently the module supports 2 types of condition:
You can set the order that the scripts should be loaded. Currently ZC loads css/scripts alphabetically, this may have some undesired effect. So this module helps you to decide which one should be loaded in which order.
No need to worry about duplication, if you have more than one modules that require the same css/jscript files (and those modules use this css/javascript autoloader), then this module will make sure each file is loaded only once.
You can change Minify settings via admin→configuration→CSS/JS Loader
To use create a new file with name: [browser-version]-whatvernamehere.[your-extension]
[browser-version] currently support these options: ie6, ie7, ff, safari, chrome
If you want to have more options (ff3 for example), then edit html_header.php file located in includes/templates/YOUR_TEMPLATE/common of the package.
[your-extension]: currently support these options: css, js
You will have to place the files in appropriate folders (js files in “jscript” folder, css files in “css” folder)