Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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?
Comment | File | Size | Author |
---|---|---|---|
#1 | Omega-User-Menu.png | 90.47 KB | joelrichard |
Comments
Comment #1
joelrichard CreditAttribution: joelrichard commentedI'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.
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.
Comment #2
jlholmes CreditAttribution: jlholmes commentedThe 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.