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.
Problem/Motivation
The black toolbar is broken. There is an empty toolbar item between "Shortcuts" and "admin".
Proposed resolution
Check if this is the problem and solve it.
Remaining tasks
User interface changes
API changes
Data model changes
Comment | File | Size | Author |
---|---|---|---|
#7 | toolbar_broken_empty-2537592-7-interdiff.txt | 927 bytes | sasanikolic |
#7 | toolbar_broken_empty-2537592-7.patch | 1.02 KB | sasanikolic |
#5 | toolbar_broken_empty-2537592-5-interdiff.txt | 752 bytes | sasanikolic |
#5 | toolbar_broken_empty-2537592-5.patch | 887 bytes | sasanikolic |
#1 | toolbar_broken_empty-2537592-1.patch | 820 bytes | sasanikolic |
Comments
Comment #1
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedChanged the toolbar hook for adding the toolbar theme CSS via page attachments.
Comment #2
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedComment #3
juanse254 CreditAttribution: juanse254 at MD Systems GmbH commentedLooks good to me.
Comment #4
BerdirThis explains the if but not what we are actually doing.
// Add CSS for the Translation icon in the toolbar if the user has access to it.
Something like that?
Also, thinking about it, we should check if the user has access to the toolbar *and* access to that menu link...
Comment #5
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedNot sure about the second permission... Is this correct?
Comment #6
BerdirNo :)
Same as ViewJobAccess, that's the one controls access to that page.
Comment #7
sasanikolic CreditAttribution: sasanikolic at MD Systems GmbH commentedNow we're checking for any of the tmgmt permissions. If the user has at least one of them, we load the library/icon.
Comment #8
LKS90 CreditAttribution: LKS90 commentedThe toolbar is fixed.
Comment #9
BerdirThanks, committed.