I'm using cakephp and I want the login view for the controller 'users' to be displayed on the default.ctp for the layout controller. I can I do this?
For example:
<div id="leftNav">
<div id="login-block" class="block">
<?php
//render users/login here
?>
<ul>
<li><a href="/users/login">Login</a></li>
<li><a href="/users/register">Register</a></li>
<li><a href="/users/logout">Logout</a></li>
</ul>
</div>
</div>