Jump to content

Smart cache for for custom JavaScript files


devilsown

Recommended Posts

I am having issues when i enable it CCC. I added 2 .js files One is loaded by a custom modal i created.

Other is cufon that should load on all pages so i put it in this class in the frontcontroller.php so it loads on each page.

        Tools::addJS(array(_PS_JS_DIR_.'jquery/jquery-1.4.4.min.js',_THEME_JS_DIR_.'cufon-yui.js', _PS_JS_DIR_.'jquery/jquery.easing.1.3.js', _PS_JS_DIR_.'tools.js'));



But when i enable CCC these to custom /js files are not included. What did i do wrong.

I started my template from the default template and this is on 1.4.3

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...