Log in after disabling the user login block
After installing Drupal 7 we get User login block on left sidebar. But what if you disabled the User login block and need to log in, you can visit the login page on:
After installing Drupal 7 we get User login block on left sidebar. But what if you disabled the User login block and need to log in, you can visit the login page on:
To show welcome message in Drupal we can identify whether user is logged in or not using simple code snippet below. You can write this code in either block or custom module which adds block or create a variable in template.php to use in a template: