By bryceray1121 on
want to hard-code a login box into page.tpl.php. What would be the best way to do this?
I've tried this, but id doesn't seem to work.
if($logged_in != ""){
//display normal homepage
}else{
drupal_get_form('user_login');
}
Thanks for the help.
Comments
What is $logged_in..? And
What is
$logged_in..?And you'll need to
printyourdrupal_get_form()call.