Put in your layout: <?php echo $content_for_layout; ?>
On Oct 10, 4:14 am, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > Hello all, > > I'm using cake php for developing one website. I have problem in using > layout to display. > In layouts directory i have one test.thtml file, in that i'm just > echoing the text, for testing. > echo "hai" ; > In controller i'm calling this layout as > $this->layout = 'test' ; > > Here this layout is over writing my controller view pages.That is > only this text is displaying, but other my controller html is not > displaying. To solve this what should i need to do? > > Any help would be greatly appreciated. > > Thanks & Regards, > Sahal. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
