I have created my own theme from scratch. And my Administration theme is set to Garland. I am using MAMP as my localhost, just for the development and designing stage.

My problem is: every time I type in http://mysite.com/, I am presented with my site. No worries here.

Now, the problem is: how do I log in, so I do the following: http://mysite.com/?q=user

The above method lets me login, but i don't like this process.
so I tried to position the User Login Block in the header and hit save. But it does not show up in my theme header.

in my THEME_NAME.info file i specified the following regions in my theme:
regions[header] = Header
regions[content] = Content
regions[footer] = Footer

I don't get it, I am able to position primary, navigation, powered by drupal, search form. All these blocks work, but User Login block does not work?

Please help.

Comments

bookwalla’s picture

anyone please. :)

khanz’s picture

Are you printing the header in your page template...?
print $header;

Also turn on Clean url to eliminate "?q=" in your site's URLs.

------------
Volvo, Video, Velcro. (I came, I saw, I stuck around.)

madaerodog’s picture

also be sure that css is not playing pranks on you like this :

it's possible you have a certain height of the header and the the logo or other blocks push the last added (the login one) under the line of sight

to check this try a html inspector like Firebug for Firefox or the default one in Chrome and see that the html for the block is really there

svetlin’s picture

Are you logged in? If you are you will not see the block.