hello, i'm new to cakephp. in my app there's controller named sections
which renders pages and there're multiple controllers for special
actions (e.g. photos, shop, etc).

what i'm trying to do is to create whole pages structure with sections
controller and set some pages to be rendered by other controllers in
backend.

i found out that renderAction will do this task

e.g.

$this->set('pish', $this->requestAction(array('controller' => 'photo',
'action' => 'index'), array('return')));

is it ok to use renderAction or there's better way to do it?

--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to