Hi all,

is there any way to set an alternate view(-template) inside a
controller?

f.e.

class UsersController extends AppController
{
  function login() {
    if (...)
       // default: render with view login.thtml
    else
      // render with a different view, f.e. login_error.thtml
}


thx,
michael

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

Reply via email to