I'd suggest you create an element containing the common markup from
the first page and call $this->renderElement('my/element') from both
pages.

There may be other solutions, but this worksforme.


On Jul 4, 5:07 pm, Contrid <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> Within my current view, I want to include another view.
> I tried using :
>
> <?= $this -> render('view_name'); ?>
>
> ...but it renders the entire layout.
> I just want the content inside of the view file.
>
> How can I accomplish this?
> Thank you for your help.


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

Reply via email to