i got a user-login-block.tpl.php to customize user login block of Drupal 7. here is that code:
user-login-block.tpl.php:
<div id='user-login-block-container'> <div id='user-login-block-form-fields'> <?php print $name; // Display username field ?> <?php print $pass; // Display Password field ?> <?php print $submit; // Display submit button ?> <?php print $rendered; // Display hidden elements (required for successful login) ?> </div> <div class='links'> <a href='/user/register'>Create an Account</a> | <a href='/user/password'>Forgot Password</a> </div> </div> this works; here is the screenshot:
but i want to print only the username field, password field and the submit button so i can easily position them, using css, adding custom label etc..
Also delete the blue marked default drupal 7 links.. any idea? thanks..