Thanks for the suggestions...
I don't understand the $file parameter in the render function. Should
that be the path to a file somewhere in my app that contains the view
logic I'm wanting?
Elements work still need a view to render, they seeom great for sharing
content across controllers and
$this-render(null,$layout);
might work
http://api.cakephp.org/class_controller.html#c89d96ba75d5acfafaee61476a575353
On 7/26/06, admataz [EMAIL PROTECTED] wrote:
Does anyone know if there's a way to share the same view between
different controllers and controller actions? Or a good reason
sorry
$this-render(null, null, $file);
On 7/26/06, Samuel DeVore [EMAIL PROTECTED] wrote:
$this-render(null,$layout);
might work
http://api.cakephp.org/class_controller.html#c89d96ba75d5acfafaee61476a575353
On 7/26/06, admataz [EMAIL PROTECTED] wrote:
Does anyone know if there's a
how about elements?
--~--~-~--~~~---~--~~
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
I did this in my application recently. I created a 'CommonController',
defined actions / views for that, and redirected the user to these
common pages when applicable.
For instance, I had an edit function for several different models. For
a success, I redirect to common/success. Seems to