Okay so I got it working using $this->render(view) from someone in the IRC, how do I work with multiple views ?
--
Join cleanscript.com Come here for professional PHP coding.
On Sat, Oct 4, 2008 at 10:41 AM, Lamonte <scheols@gmail.com> wrote:
How do you switch "views" within a controller action? I have something
setup like the following example.com/users/profile then I might want
to do example.com/users/profile/edit I want to change views inside the
profile action based on the parameter which is set, possible? It yes,
How do you do it.
--
Join cleanscript.com Come here for professional PHP coding.
--~--~---------~--~----~------------~-------~--~----~
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 cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment