Please check the home.ctp in the pages controller if you are not modifying
the routes to your own controller.

Becoz cake takes the default content for layout from the
//view/pages/home.ctp.

Other wise please check for extra </div> in other pages or in default.ctp.

On Thu, Jul 9, 2009 at 7:31 AM, V1V3k <[email protected]> wrote:

>
> Hi All,
>
> I am facing this strange issue with  <?php echo $content_for_layout; ?
> >
>
> $content_for_layout spits a </div> which spoils the page structure.
> I used a simple layout without any other elements. The html output is
> shown below.
>
> <pre>
> <html xmlns="http://www.w3.org/1999/xhtml"; xml:lang="en" lang="en">
>
>
>
> <head>
>        <title>Test</title>
>
>
> </head>
>
> <body>
>
>
>                        <!-- begin page content -->
>
>
>
>
>
> </div>                  <!-- end page content -->
>
>
> </body>
> </html>
> </pre>
>
> Is this a bug? I am using version 2.1.8004
>
> >
>


-- 
Thanks & Regards,
Vijayk.
Co-founder (www.weboniselab.com)

"You Bring the Dreams, We'll Bring the Means"

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to