I use an element to contain my login form and then insert it with
$this->renderElement('login'); if the user is not logged in other
wise show the 'real' home page content.
On 1/18/07, jyrgen <[EMAIL PROTECTED]> wrote:
Dear bakers,
the start page of my app is supposed to be a login.
my user login view still resides in /views/user/login.thtml.
this works fine, but leads to the ugly url /users/login.
but i want the login form in home.thtml which resides in /pages.
here i have no access to the $error variable...
thanks for yr help !
jyrgen
>
--
==
S. DeVore
(the old fart) the advice is free, the lack of crankiness will cost you
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---