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.
Like the module very much. I installed the module 8.x-3.0 (using composer). The module works and allow to add environments, set the color and switch. The toolbar color doesn't change and stay black regardless of the color set.
Comment | File | Size | Author |
---|---|---|---|
Screen Shot 2017-03-03 at 8.57.39 PM.png | 69.08 KB | shaisamuel |
Comments
Comment #2
e0ipsoComment #3
PlayfulWolf CreditAttribution: PlayfulWolf commentedThe same
Comment #4
braindrift CreditAttribution: braindrift commentedSame here.
Possible workaround is to define the values in the settings.local.php (see README.md)
Comment #5
shaisamuel CreditAttribution: shaisamuel commented#4 worked for me. Thank you
Comment #6
couloir007 CreditAttribution: couloir007 commentedI don't have access to the settings file on production but want to set an indicator for it. Why have the settings page if it doesn't work? I would think it should work or not be there.
Comment #7
e0ipsoThe toolbar color is set using JavaScript. Please check for any JS errors in you console.
Comment #8
sagesolutions CreditAttribution: sagesolutions commentedIn the images, it looks like you have configured environments for quick switching.
To change the top bar, you need to go to
/admin/config/development/environment-indicator/current
to configure the current environment.Upon saving the form, your black menu bar with be set accordingly.
Please try it out and see if this fixes the problem.
Thanks,
Mike
Comment #9
monymirza#8 works but need Environment indicator UI module need enable.
Comment #10
galactus86 CreditAttribution: galactus86 as a volunteer and commentedI think it would be really helpful to document on the module page a little more clearly. For instance if you have a local.settings.php file then you don't get the tab for Current Environment when you first enable this module.
Comment #11
e0ipso#8 is correct. Thanks for the clarifications.
Comment #13
couloir007 CreditAttribution: couloir007 commentedFor my Pantheon, which is what I was trying to figure out, this works. In the settings.pantheon.php: