[eluser]chefnelone[/eluser]
Hello
I need some help, since I can't get it working. I mean I got no error but nothing at all. The asset isn't added.
1- I autoloaded the libraries:
Code:
$autoload['libraries'] = array('database', 'carabiner', 'jsmin', 'cssmin');
2- Set the paths:
(the assets folder is in: ci/assets/)
(the application folder is in: ci/application/)
Code:
$config['script_dir'] = '../../assets/scripts/';
$config['style_dir'] = '../../assets/styles/';
$config['cache_dir'] = '../../assets/cache/';
3- And then, In my view I added a asset with:
(I have javascript.js inside assets/scripts/ )
Code:
<?php $this->carabiner->js('javascript.js');?>
But nothing...
Where is my mistake??