Monday, June 29, 2009

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 <e.fanzini@gmail.com> 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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: