Thursday, February 23, 2012

Re: Styles and JS not loaded

Ok sorry for that my bad I'm using ->script when should be ->css miss this mail
:-(
Ing. Reynier Pérez Mira



On Thu, Feb 23, 2012 at 9:19 AM, reynierpm@gmail.com <reynierpm@gmail.com> wrote:
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

No comments: