Haha - thanks, totally missed it. Knew I'd done something silly.
Thanks again.
On Apr 12, 11:36 pm, Adam Royle <[EMAIL PROTECTED]> wrote:
> <?php echo $this->renderElement("test2"); ?>
>
> On Apr 12, 10:52 pm, sheppy <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > Got a really weird error with render elements.
>
> > I have this code in my default layout, and I've also tried it in a
> > page as well:
>
> > <?php $this->renderElement("test2"); ?>
>
> > I have a file sitting in my app/views/elements/test2.thtml
>
> > However it is displaying nothing at all - really strange. It's only
> > just started happening as I was getting rendering before.
>
> > The text in the test2.html file is simple:
>
> > <p>Test</p>
>
> > Someone help! :D
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---