Thanks Thiago, i´ve discovered that file.less.css also works fine as less 
filenams. But thanks a lot!!

Em quinta-feira, 19 de julho de 2012 13h29min27s UTC-3, Thiago Belem 
escreveu:
>
> He can be using less.js <http://lesscss.org/> while developing the site..
>
> @André
> You can do this:
>
> $this->Html->css($this->Html->url('/css/file.less', true), false, 
> array('inline'=>false))
>
> If the CSS url starts with "http" Cake will not append the .css extension, 
> and with Html::url() you get a complete URL to the file.
>
> Cya,
> --
> ***Thiago Belem*
> Desenvolvedor
> Rio de Janeiro - RJ - Brasil
>
> *Assando Sites* - Curso online de *CakePHP*
> assando-sites.com.br <http://goo.gl/b1EEd>
>
> thiagobelem.net
> con...@thiagobelem.net <javascript:>
>
> *Skype / gTalk **»* thiago.belem.web
> *LinkedIn* *»* br.linkedin.com/in/thiagobelem/pt
>
>
>
> On Thu, Jul 19, 2012 at 10:10 AM, Jeremy Burns | Class Outfit <
> jerem...@classoutfit.com <javascript:>> wrote:
>
>> Why?
>>
>>  
>> Jeremy Burns
>> Class Outfit
>>
>> http://www.classoutfit.com 
>>
>> On 19 Jul 2012, at 13:41:39, André Luis wrote:
>>
>> The problem is: I need to add the less css inside a view using 
>> $this->Html->css('file.less',false,array('inline'=>false));
>>
>> In my opinion it would be nice if CakePHP checks for the extension, if 
>> there is no extension it adds .css, but if exists, it doesnt.
>>
>> Em quinta-feira, 19 de julho de 2012 09h25min59s UTC-3, André Luis 
>> escreveu:
>>>
>>> Hi people, i dont know if here is the right place to ask for this, but 
>>> it would be nice if the HTML helper detects if the desired css file is a 
>>> .css or .less, them it doesnt put a .css in front of the file, i always 
>>> need to change my core files to accept the less files. And the less script 
>>> doesnt accepts .css files =(
>>>
>>> The site for lesscss is http://www.lesscss.org if anyone want to see 
>>> more about what i am talking about
>>>
>>
>> -- 
>> 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
>> cake-php+u...@googlegroups.com <javascript:> For more options, visit 
>> this group at http://groups.google.com/group/cake-php
>>
>>
>>  -- 
>> 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
>> cake-php+u...@googlegroups.com <javascript:> For more options, visit 
>> this group at http://groups.google.com/group/cake-php
>>
>
>

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


Reply via email to