Experimental project
This is a sandbox project, which contains experimental code for developer use only.
Drupal ships with a user login block, but it's a little heavy for a lot of projects I work on. It includes the login form itself, and that's kind of a pain to style and might not have been considered in the initial design phase of the project. What I often need is just a more simple "Hello [user], Logout" link, or - in the case that user hasn't logged in yet, a simple "Login or Create Account" link.
You might think that you could just drop some links for this into the theme, and you can - but there's still some PHP logic to see if the user is logged in or not. Not a big deal, but it's a pain to have to do that over and over for every drupal site I build. So, here's a little module I developed which just outputs a block for these links.
You can configure the links to say either "Login" or "Log In" or "Sign In"... etc. Whichever you prefer.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Access Control, Site Structure, Developer Tools
- Created by wheelercreek on , updated