Drupal Development

I'll post up here any development advice or help I can give - particularly to new developers who want to start learning how to write code to create custom modules in Drupal.  I might also post some modules I've developed if they can be useful in a general way.  A lot of the custom modules I write are pretty particular to the needs of the site they are targeting, but every once in a while I come up with something that I think others can use.

Simple Login for Drupal, show username and logout links

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.  

Subscribe to RSS - Drupal Development