EllisLab text mark
Advanced Search
13 of 14
13
   
Carabiner 1.4: Asset Management Library
Posted: 01 March 2012 11:47 AM   [ # 191 ]   [ Rating: 0 ]
Joined: 2010-05-13
2 posts
MainmanFR - 27 February 2012 09:32 AM

Hi,
I want to download carabiner, but when I click on one of the 3 links of the first post, I’ve got a blank page… Is it a Code Igniter problem or the files aren’t available ?
Thanks

I’m having the same problem. Very frustrating since I love this library and want to make sure that I have the latest and greatest.

 
Posted: 02 March 2012 04:30 AM   [ # 192 ]   [ Rating: 0 ]
Joined: 2012-02-03
1 posts

You can download it from here: https://github.com/tonydewan/Carabiner

 
Posted: 17 April 2012 11:33 AM   [ # 193 ]   [ Rating: 0 ]
Joined: 2012-04-10
1 posts

Hi there !

I’m trying to make it work with phpTal.
Everything’s fine, but… smile

I just cannot render the controller called assets in the proper div in my views.

My view are rendered like : $this->tal->display(‘homepage.php’);

$this->carabiner->display(‘analog’); // analog is a group set up in the config file

Using the display() method, the assets’s path are outputted as soon as possible, i.e just after the docType.

Of course i would like to render them between the <head></head>.

Any idea please ?

Cheers,

Kostra

 
Posted: 01 May 2012 06:29 AM   [ # 194 ]   [ Rating: 0 ]
Joined: 2011-06-28
5 posts

Hey,

Could you update your Wiki to include information on what each of the optional boolean parameters are for? The one for minification seems to be missing. I’ve hunted all over the documentation but couldn’t find any mention of it. On the Wiki it talks about combining using an optional boolean flag, but nothing about minification.

E.g:

array('/js/libs/selectivizr.min.js'TRUEFALSE

I’m led to believe from somebody who has studied the code to mean: combine but don’t minify.

Cheers!

Jamie

ps: I also have a suggestion- could we control whether or not the script tag contains the type attribute, it’s not required in HTML5.

 
Posted: 09 May 2012 05:32 PM   [ # 195 ]   [ Rating: 0 ]
Joined: 2012-05-09
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.

 
Posted: 10 May 2012 01:39 PM   [ # 196 ]   [ Rating: 0 ]
Joined: 2012-05-10
2 posts

Can’t download, throws a blank page :/

 
Posted: 13 May 2012 06:31 AM   [ # 197 ]   [ Rating: 0 ]
Joined: 2012-05-13
2 posts

how download it? throws a blank page too..

 
Posted: 13 May 2012 09:01 AM   [ # 198 ]   [ Rating: 0 ]
Joined: 2012-05-10
2 posts
tschleuss - 13 May 2012 06:31 AM

how download it? throws a blank page too..

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

 
Posted: 13 May 2012 11:39 AM   [ # 199 ]   [ Rating: 0 ]
Joined: 2012-05-13
2 posts
Fábio Rocha - 13 May 2012 09:01 AM
tschleuss - 13 May 2012 06:31 AM

how download it? throws a blank page too..

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

Thanks!

 
Posted: 21 May 2013 11:34 AM   [ # 200 ]   [ Rating: 0 ]
Joined: 2013-03-15
23 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

Filenamelibraries/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

 

 
13 of 14
13