are you sure that the contents_for_layout is in the body section of your default.ctp layout?
should be snip.... <body> (add whatever here) <?php echo $contents_for_layout; ?> (add more if you need it) </body> </html> In the name of Life, Liberty, and the pursuit of my sanity. Siebren Bakker(Aevum Decessus) On Sat, Jul 19, 2008 at 05:53, vibhor <[EMAIL PROTECTED]> wrote: > > Hello all, > > I am trying to upgrade my existing project(in php) using cakePhp > 1.2 . I am fairy new to cake and have been playing around with the > examples and tutorials for a while. But i am facing a minor problem, I > want to set up a home page for my CMS part of the project, with a > login form on the same page. > > As per my knowledge, I have created a home.ctp in pages folder and the > default.ctp in the layouts folder. My login form is in the home.ctp > file and when i load this, the browser shows nothing. But, when i put > the contents of the home.ctp file in default.ctp, i can view my login > form. > > I don't know what is wrong in this..Please, can someone help me in > this... > > Thanks, > Vibhor > > > > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
