tags:

views:

231

answers:

1

I'm having trouble getting Carabiner to work...

There aren't any errors--my files just aren't working.

I haven't changed the config.

In my function I have:

 $this->load->library('carabiner');
 $this->carabiner->display();

This should output all the css and js in my asstes folder, right?

I've tried moving the assets folder around too. Right now it's in /application/assets

Am I getting something wrong?!

A: 

Looks like you also need to grab the js and css using the carabiner object:

// add a js file
$this->carabiner->js('scripts.js');

// add a css file
$this->carabiner->css('reset.css');

// add a css file with a mediatype
$this->carabiner->css('admin/print.css','print');

see http://codeigniter.com/wiki/Carabiner/

Stephen J. Fuhry