Login Box In Footer


How can I insert Login box in footer of page ?


You can run the login action in renderPartial method though the following function

Yii::app()->runController('controller/action'); //May be site/login

runController with include the layout to I would say just copy and paste the login.php code in your footer.

It may not work for ajax validations