You can use this other CSS and Js compressor in Cake 2.x, 
see https://github.com/glaucocustodio/easy-compressor-plugin

Em sábado, 14 de julho de 2012 22h30min59s UTC-3, advantage+ escreveu:
>
> Hello Mark, 
>
>  
>
> I did see the one you wrote but having to define the specific sets of 
> different css / js files did not seem like the option I was looking for in 
> a separate ini file. I want to be able to say ok let me try using 
> colorbox.js or lightbox.js and add that directly in the view rather than 
> define different sets of js / css in a remote file.
>
>  
>
> *From:* [email protected] <javascript:> [mailto:
> [email protected] <javascript:>] *On Behalf Of *mark_story
> *Sent:* Saturday, July 14, 2012 10:58 PM
> *To:* [email protected] <javascript:>
> *Subject:* Re: CSS / JS Compression
>
>  
>
> I wrote one, its on github.
>
>  
>
> http://github.com/markstory/asset_compress.
>
>  
>
> It affords the ability to concatenate and minify files. It also allows you 
> to integrate preprocessors like less, sass and coffee-script into your 
> projects.
>
>  
>
> -Mark
>
> On Saturday, 14 July 2012 17:27:34 UTC-4, advantage+ wrote:
>
> I know in older versions of cake there were many compression / combine 
> plugins that would take the defined css /js for the view and compress / 
> combine / minimize so you ended up with 1 js and 1 css file. Is there 
> anything like that for 2.x?
>
>  
>
> I liked the way I defined what I needed in each view specifically….
>
>  
>
> I had used Compressor plugin. And in the view simply dropped in
>
>  
>
> <?php $this->Compressor->add_libs( 'js', array('jquery.form', 
> 'jquery.blockUI', 'jquery-ui-1.8.6.custom.min') );?>
>
>  
>
> Anyone fine anything similar?
>
>  
>
> Thanks all.
>
> -- 
> Our newest site for the community: CakePHP Video Tutorials 
> http://tv.cakephp.org 
> Check out the new CakePHP Questions site http://ask.cakephp.org and help 
> others with their CakePHP related questions.
>  
>  
> To unsubscribe from this group, send email to
> [email protected] <javascript:> For more options, visit this 
> group at http://groups.google.com/group/cake-php
>

-- 
Like Us on FacekBook https://www.facebook.com/CakePHP
Find us on Twitter http://twitter.com/CakePHP

--- 
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
Visit this group at http://groups.google.com/group/cake-php?hl=en.


Reply via email to