Read the manual, the View section of the manual[1]

[1]http://manual.cakephp.org/chapter/views

-- 
Pablo Viojo
[EMAIL PROTECTED]
http://pviojo.net


On 8/6/07, Tulio Faria <[EMAIL PROTECTED]> wrote:
>
> Just open /cake/libs/view/templates/layouts/default.thtml and you will
> see the cake default layout...
>
> []'s
>
> On Aug 6, 12:35 pm, Daghe9193 <[EMAIL PROTECTED]> wrote:
> > I was able to figure out what was wrong with my default.thtml be
> > looking at an older project of mine.   I left the $content_for_layout
> > out of the file.
> >
> > <div id="container">
> >   <div id="content">
> >      <?php if ($session->check('Message.flash'))
> >        $session->flash();
> >        echo $content_for_layout;
> >      ?>
> >   </div>
> > </div>
> >
> > If someone can followup with a link to the manual, a tutorial, or an
> > example of a well done default.thtml, it might be helpful for future
> > newbies using CakePHP.
> >
> > Thank you for this great Forum.
> >
> > On Aug 6, 9:54 am, Daghe9193 <[EMAIL PROTECTED]> wrote:
> >
> > > Without a default.thml, cakePHP renders the view, index, add, edit
> > > screens.     When I add a default.thml file,  the Query information
> > > displays, but the view, index, add, and edit screens do not.
> >
> > > My default page is a header with menus and a search box.   It contains
> > > its own css, a form, and javascript.    All tags are all appropriately
> > > closed.
> >
> > > I've also noticed that a blank default.thtml prevents the view, index,
> > > add, and edit screens from rendering.
> >
> > > I'm using  cake_1.1.16.5421.
> >
> > > Any suggestions?
>
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to