I'm using the Omega grid and by default the login prompt is located in the "branding section". I'm trying to move the login prompt to the "user bar" section. To make the change i configured this in structures-->blocks, where i assigned the "user login" prompt to "user bar second" section. However, the user login prompt only appears in "user bar second" when NOT logged in. If logged IN the login prompt appears in the "branding section". I want to always make it appear in the "user bar" section. How do i do this?

CommentFileSizeAuthor
#1 Omega-User-Menu.png90.47 KBjoelrichard
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

joelrichard’s picture

Title: user loggin placement » user login menu placement
FileSize
90.47 KB

I've been looking at this, too, and here's what I am seeing (which is related, but not identical.) I have yet to dig into the code to identify what's going on. I have a pretty vanilla install of Drupal and an Omega Subtheme at this point.

  1. What I am seeing is the default Drupal "User menu" appearing below the Branding section, but I don't believe that it is within the branding section itself.
  2. Attempts to place the "User Menu" into the "User Bar Second" actually creates a second menu on the page. Screenshot attached.
  3. Moving these menu items out of the User Menu hides them from the page, but I believe it's still the case that the menu is still appearing.

I'm nervous about going into the code because Omega is still very new to me.

I think for now my solution is to create two new menus, one for when the user is logged out (Login / Register) and one for when the user is logged in (My Account / Logout) and display them appropriately to non-authenticated or authenticated users. That's a big workaround, though.

Add'l info. The menu is appearing in, I think, the Menu section. That makes sense, but I can't remove it. Drupal is insisting on always showing this menu on the page.

jlholmes’s picture

The branding section is displaying the Secondary Links. The User Menu appears in the branding section because it is set as the 'Source for the Secondary Links'. You can change the 'Source for the Secondary Links' in the Menu settings (/admin/structure/menu/settings). Set it to 'No Secondary Links' or any other menu that you choose.

Place both the 'User menu' and the 'User login' blocks into the 'User Bar Second' region and I think you will be close to what you are seeking.