I'm trying to add the user login block in my page.tpl file. I've tried inserting the following code but the only thing I see is the username, password and submit fields. The "Register" and "Forgot your Password" fields are not there. And I would like to do this in code form. Cause I wanna put the user login block in a specific place.
if(!user_is_logged_in() ){
$userLoginForm = drupal_get_form('user_login');
print drupal_render($userLoginForm);
}
Thanks :)