Hi, I have a multi-domain setup using the Domain module.
I have different themes on different domains, one of which has Gin with the toolbar and this module installed.
Currently this module changes the admin toolbar for all the thems, I would like it to only affect Gin.
In this issue I suggested to introduce alter hook to alter the _gin_toolbar_gin_is_active().
All works well with the MR I added, but it requires extra check if Gin toolbar is active in the gin_toolbar_custom_menu_toolbar_alter function provided by this module.
Comments
Comment #3
gilmordI did not dig why, but this patch (https://git.drupalcode.org/project/gin_toolbar_custom_menu/-/merge_reque...) + patch from related issue (https://git.drupalcode.org/project/gin_toolbar/-/merge_requests/38.patch) did the trick for me - I have regular adminimal toolbar on one domain and I have gin toolbar + custom menu for it on gin theme domain.
Comment #4
jmauricio commentedComment #5
jmauricio commentedChanges merged into 1.0.x.
Thanks, this will be in the next release.
Comment #6
gilmord@jmauricio thanks!
By the way I noticed interesting thing - this module successfully replace toolbar not only for Gin theme but for any theme.
In my case it worked for adminimal and for my custom theme.
Maybe we should consider replacing it with a global module, not limited to Gin theme
Comment #7
jmauricio commented