Welcome Guest, Not a member yet? Register   Sign In
Links and IDs
#7

[eluser]csabessz47[/eluser]
I need help again.
I downloaded Carabiner, copied the config and library files, but I can't make it work.
My css folder is next to the 'system' folder.
My controller:
Code:
function Main() {
    parent::Controller();
    $this->load->helper('url');
    $this->load->library('carabiner');
    
    $carabiner_config = array(
        'script_dir' => 'assets/scripts/',
        'style_dir'  => 'css/',
        'cache_dir'  => 'assets/cache/',
        'base_uri'   => base_url(),
        'combine'    => TRUE,
        'dev'        => FALSE
    );
    $this->carabiner->config($carabiner_config);
    $this->carabiner->css('style.css');
}

The problem is that I can't use it. I read the wiki but I don't understand.
Should I use
Code:
$this->carabiner->display('css')
but if yes: where?


Messages In This Thread
Links and IDs - by El Forum - 09-11-2010, 11:12 AM
Links and IDs - by El Forum - 09-11-2010, 11:30 AM
Links and IDs - by El Forum - 09-11-2010, 11:36 AM
Links and IDs - by El Forum - 09-11-2010, 11:50 AM
Links and IDs - by El Forum - 09-11-2010, 12:02 PM
Links and IDs - by El Forum - 09-11-2010, 12:21 PM
Links and IDs - by El Forum - 09-14-2010, 02:12 PM
Links and IDs - by El Forum - 09-15-2010, 02:01 PM



Theme © iAndrew 2016 - Forum software by © MyBB