Thursday, February 23, 2012

Styles and JS not loaded

Hi:
I'm trying to use Twitter Bootstrap for the look & feel of my application but I must doing something wrong because does not work :-(. I've created a file called default.ctp under View/Layouts folder and in this file I use this code for styles:

<head>
   ....
<?php $this->Html->script('bootstrap.min.css'); ?>
</head>

But it's not working because no <style> tags are generated. Why? I have  the file bootstrap.min.css in /app/webroot/css folder
Cheers
Ing. Reynier Pérez Mira

--
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+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate