How to: Lose the Login Block in a good way

wolf_halton - March 5, 2008 - 16:48

My partner loves Drupal but he hates the login block. He says login blocks are revolting and distasteful and take too much space at the top of the page. I suggested we could give it a weight of 10 and put it low on the page. He said he hated that too.

I tried "Hiding" the block and letting users make it visible if they wanted to. This works great for some blocks but when you do it with the login, you realize that there is no category for "un-logged-in users" so you need to come to the forums to find out how to get logged in. Oops!

The Troubleshooting guide shows us how to get to the users page [code]http://example.com/?q=user[/code]
and so I went in and made the log-in visible again.

Then I realized that it might work to make it a menu item. So I took that link and made a menu item out of it, with a weight of "10" so it was unobtrusive and takes up no noticeable space.

http://thelittlecow.org/userfiles/image/Wolf/drupal5x_no-login_block.png (this will open a new window)

Wolf, Excellent

Shai - March 7, 2008 - 07:27

Wolf,

Excellent solution,

shai

content2zero.com

 
 

Drupal is a registered trademark of Dries Buytaert.