Re: load css from a subfolder by default
hi Vijay. Thx for the response. i'm looking for a method to change the default css folder. your code surely works but that's not exactly what i'm looking for :) On 29 Giu, 15:05, Vijay Kumbhar wrote: > Hello Ernesto, > > You can use the following code,if your css file is in webroot/abc/abc.css > folder, > > $html->css('abc/abc.css'); > > By default cakephp searches for the css in webroot folder. So better way to > store the css , js, images in the webroot folder. > > On Mon, Jun 29, 2009 at 5:14 PM, Ernesto wrote: > > > Hello. > > > is there any way to load css files from a subfolder by default? > > -- > Thanks & Regards, > Vijayk. > Co-founder (www.weboniselab.com) > > "You Bring the Dreams, We'll Bring the Means" --~--~-~--~~~---~--~~ 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
Re: load css from a subfolder by default
Hello Ernesto, You can use the following code,if your css file is in webroot/abc/abc.css folder, $html->css('abc/abc.css'); By default cakephp searches for the css in webroot folder. So better way to store the css , js, images in the webroot folder. On Mon, Jun 29, 2009 at 5:14 PM, Ernesto wrote: > > Hello. > > is there any way to load css files from a subfolder by default? > > > -- Thanks & Regards, Vijayk. Co-founder (www.weboniselab.com) "You Bring the Dreams, We'll Bring the Means" --~--~-~--~~~---~--~~ 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---
load css from a subfolder by default
Hello. is there any way to load css files from a subfolder by default? --~--~-~--~~~---~--~~ 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 For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~--~~~~--~~--~--~---