Hello.

I wrote two controllers:

ChildController extends ParentController
and
ParentController extends AppController

If the action "foo" (which is defined in ParentController) is invoked
on the ParentController cake displays the view "parent/foo".
So far so good.
If the action "foo" is invoked on ChildController cake acts as I
suggested: the action from the parent class is invoked. But cake tries
to display the view "child/view".
How can I tell cake to display "parent/foo"?
I tried the render($action, $layout, $file) function but I do not
understand the parameters: I could get my view with $action = "parent/
view" nor with anything in $file.

Can anyone help me.

Thanks in advance,

Thomas

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