*Writing the default.ctp File*

* *

=>The default.ctp file in app/views/layout is used to give a basic layout
for all view pages… like setting up the header, footer, body etc….



*A Simple Default Layout*

* *

* *

 <html>

 <head>

 <title>My Cake Blog Application</title>

 <?=$html->css('styles');?>                          // adding the css
reqd….

 </head>

 <body>

 <div id="container">

 <div id="content">

 <?=$content_for_layout;?>             //view contents automatically
replaces

                                                                        here
its cake magic……

 </div>

 </div>

 </body>

 </html>


use this link for more understanding

http://book.cakephp.org/view/96/Layouts



On Fri, Jul 10, 2009 at 4:38 PM, Dhileepen Chakravarthy <
dhileepen.cake...@gmail.com> wrote:

> Hi everybody
>
> I am new to cake php. i have created sample blog application.
>
> But it is not looking good. i wnat to remove header cakephp rapid... and
> footer sql sampl query how do i do this?
>
> Regards,
> Dhileepen Chakravarthy
>
>
> >
>


-- 
-- 
(¨`•.•´¨) I may be busy,
`•.¸(¨`•.•´¨)  but I assure you,
(¨`•.•´¨)¸.•´ you are always in my heart
`•.¸.•´


With Lots of Love.....

THANKS AND REGARDS

Jeffery Jacob

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to