1

When I open my web without being logged in, the login block appears twice. Once in sidebar and once in header (at least I hope it is header section), as shown in this screenshot:

enter image description here

However, in structure/blocks I have it set in sidebar only.

Any idea how to fix this, so that the login block is only shown once? Theme is ANDROMEDA: https://www.drupal.org/project/andromeda

5
  • you need to check on page.tpl.php file present inside theme folder
    – DRUPWAY
    Commented May 30, 2015 at 10:38
  • Ive looked there, but not sure what to look for :-(
    – KamoB
    Commented May 30, 2015 at 20:48
  • Using mozilla firebug I found the element and managed to delete it in firebug console. BUt still don¨t know where it is in the template files :-(.
    – KamoB
    Commented May 30, 2015 at 21:05
  • Check weather login form is rendered in the header section in tpl file.Both page.tpl.php and page--front.tpl(if present)
    – DRUPWAY
    Commented Jun 1, 2015 at 5:47
  • Well, I kind of solved it...I deleted the whole Andromeda folder and copied it again. The unwanted block disappeared...but I know its not the best solution. I should have set up Andromeda sub-theme. But forgot. Thanx all for advice
    – KamoB
    Commented Jun 1, 2015 at 19:39

3 Answers 3

1

Follow the steps, Using which can solve your problem.

  1. Go to Blocks under structure admin menu.
  2. You will find user login block in Header section.
  3. If you have added your custom login block then there is no need to have default login widget in header. So change it to null.
  4. If you have default login then just check to put it in appropriate block.

This are the two cases according to your question description.Answer back if not solved.

Please do mention some more description if this solution won't work.

0

It could be because of some theme setting that is turned on, so check if that's the case and if so, turn that theme setting of.

Alternatively, do not display the block in the sidebar (at least until you find the solution for removing it from the header, if that's what you prefer).

Also, consider editing your question to also explain which theme you are using (with link to it on drupal.org). Or mentioned that you're using a custom theme, if that is the case.

1
  • Great, thanx, i ll check it out. And yes, im idiot, I ll edit my question.
    – KamoB
    Commented May 30, 2015 at 11:43
0

If you found the element in firebug, you can also try hiding it with css.

1
  • Not a good way to do things... :( Commented Jun 1, 2015 at 22:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.