On Sun, Mar 9, 2008 at 9:05 PM, Kyle Decot <[EMAIL PROTECTED]> wrote:
>
> I want to have one of my controller actions have a view that is
> different from the rest of the actions. How would I do this?
You could add code into the beforeFilter() to do that.
function beforeFilter() {
if ($this->action = 'foo') {
$this->layout = 'fooLayout';
}
}
Hope that helps.
--
Chris Hartjes
Internet Loudmouth
Motto for 2008: "Moving from herding elephants to handling snakes..."
@TheKeyBoard: http://www.littlehart.net/atthekeyboard
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---