On Jul 11, 2006, at 6:44 PM, codecowboy wrote:

>
> Hi,
>
> I have followed the instuctions in chapter 21 of the manual to  
> create a
> user authentication system.  I have that system completely working.
>
> I want to create a login element that functions the same way.  This
> way, I can place the login element in the left column of my layout.
>
> The problem that I am running into is that cake requires the view  
> to be
> related to an action.  I do not know how to tell cake that the login
> element is the view for the users/login action.

I'd just leave it as an action and use $this->requestAction() to pull  
it into places you want it displayed.

<?php echo $this->requestAction('/users/login', array('return')); ?>

-- John

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

Reply via email to