Sunday, June 5, 2011

RE: Problem with default.ctp

See below.
 
> Subject: Re: Problem with default.ctp
> From: google-2010@ryandesign.com> Date: Tue, 31 May 2011 02:37:10 -0500
> To: cake-php@googlegroups.com
>
>
> On May 30, 2011, at 09:28, Phil wrote:
>
> > I created a sample app using the scaffolding, which worked very well,
> > thank you.
> > I went the next step and created a default.ctp file using the one that
> > comes with cakephp.
>
> Where did you put your default.ctp? What's in it?
location: app/views/layouts
contents:
<html>
 <head>
  <title>My Cake Blog Application</title>
  <?=$html->css('styles');?>
 </head>
 <body>
  <div id="container">
  <div id="content">
   <?=$content_for_layout;?>
  </div>
  </div>
 </body>
</html>

>
> > I then created a style.css file with the following:
>
> Where did you put your style.css?
app/webroot
>
> > I then tried rerunning the application and the only output I got was:
> > css('styles');?>
>
>
>
> --
> 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: