Hi,
I managed to hide the login block on drupal 6, but now it shows "* Sing in.. * New password * Sign up " in the top right corner of the browser window. How can I remove this and only login via /user/login. This is where "Sign in.." leads to

Thanks for your help in advance!

Comments

vm’s picture

administer -> blocks

disable the login block.

tamara82’s picture

Thanks for your answer, but i tried to do that. It is under the section "disabled" and shows as a value. However, it shows a different kind of block in the top of the page. Might that be theme-specific. I am using aboutpeople.

vm’s picture

I don't have that theme installed any where. A link to the site would be of benefit.

If it is theme specific in it is in one of those files. Likely page.tpl.php
I'd also run through the modules to ensure no contrib module has been installed that is handling this since it's not the core login block.

scoutbaker’s picture

That looks like part of the theme. You should file a support request in the queue for the aboutpeople theme if you can't find a way to disable that feature yourself.

tamara82’s picture

I was changing the themes around and it disappeared. If I can find a way to remove it, I will post it. Thanks for the answers

tamara82’s picture

By removing the following line, it can be removed:

print phptemplate_flat_login();

The line can be found in page.tpl.php. But careful, there is also a file with the same name in subfolders about/ and people/ where it needs to be removed also. It is calling a function phptemplate_flat_login in template.php