ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Carabiner 1.4: Asset Management Library

June 01, 2009 3:30pm

Subscribe [76]
  • #196 / May 09, 2012 5:32pm

    jonsuh

    1 posts

    When loading groups, JS loads before CSS. I may be mistaken, but it’s bad practice to have the JS load before the CSS.
    The CSS should be loaded before the JS.

    To accomplish this, do the following in libraries/carabiner.php: (Lines 516-522)

    default:
      if( isset($this->css[$flag]) && ($group_filter == NULL || $group_filter == 'css') )
        $this->_display_css($flag);
       
      if( isset($this->js[$flag]) && ($group_filter == NULL || $group_filter == 'js') )
        $this->_display_js($flag);
    break;

    Basically swapping lines 517-518 with 520-521.

  • #197 / May 10, 2012 1:39pm

    Fábio Rocha

    2 posts

    Can’t download, throws a blank page :/

  • #198 / May 13, 2012 6:31am

    tschleuss

    2 posts

    how download it? throws a blank page too..

  • #199 / May 13, 2012 9:01am

    Fábio Rocha

    2 posts

    how download it? throws a blank page too..

    Hi, I’ve found the “solution” 😊
    https://github.com/tonydewan/Carabiner

  • #200 / May 13, 2012 11:39am

    tschleuss

    2 posts

    how download it? throws a blank page too..

    Hi, I’ve found the “solution” 😊
    https://github.com/tonydewan/Carabiner

    Thanks!

  • #201 / May 21, 2013 11:34am

    Radou

    7 posts

    Hello,

    I use the last version of carabiner, and tried to cache all my css and js files, also I use force curl parameter, but my site renders almost clean with that error message (20 times)

    A PHP Error was encountered
    
    Severity: Warning
    
    Message: file_get_contents() [function.file-get-contents]: Filename cannot be empty
    
    Filename: libraries/Carabiner.php
    
    Line Number: 956

    I guess 20 times, means 20 failure to minify a file right ?

    Also the message disappear when I reload the page (I guess because the cache files are created already.

    Can you please explain why we get this message and how can we track files failed

    Thanks

     

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases