On Jun 7, 2007, at 9:47 AM, Joshua Benner wrote:

>
> If I understand what you're saying... the only "built-in" content
> variable is $content_for_layout which comes from the output from the
> currently-executing view.
>
> However, layouts have access to the variables that you set in your
> controller with $this->set() -- so you may be able to achieve the
> functionality you're looking for that way.
>
> Also, consider the after/before filters for defining additional
> separate-from-controller content to be included.
>
> I'm making stabs in the dark here -- does any of this help?

You might consider using the view as a vehicle to display elements.  
Use requestAction() to grab data from a controller, and hand that  
data to dynamic elements, if you need.

-- John



--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to cake-php@googlegroups.com
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