Thanks for the help everyone. The problem was of course really simple.

<?php echo $content_for_layout ?>

Totally forgot to add this to my layout...

I was thinking the issue was bigger than it actually was.

How embarrassing!


On Oct 24, 4:13 pm, Tom <tast...@gmail.com> wrote:
> Day 3 on using CakePhp and I like it. But I am running into the
> problem with generating static pages.
>
> I have an about page represented by about.ctp
>
> The page will render and will execute this php code:
>
> <?php $this->set("title_for_layout", "My Title"); ?>
>
> But If I add any other html in this file nothing shows up.
>
> What am I missing here?
>
> Thanks

Check out the new CakePHP Questions site http://cakeqs.org and help others with 
their CakePHP related questions.

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