Customize login block's position in page.tpl I'm trying to position my login block in my page.tpl file. Everytime I insert the code 

&lt;?php print drupal_render(drupal_get_form('user_login')); ?&gt; 

in my page.tpl file. It throws an error. The error it throws is 


  Strict warning: Only variables should be passed by reference in include() (line 79 of C:..\sites\all\themes\neptune\templates\page.tpl.php).


How can I fix this issue?
You can do it like this:

if(!user_is_logged_in() ){
    $userLoginForm = drupal_get_form('user_login');
    print drupal_render($userLoginForm);
}


because drupal_render receives argument as reference..