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.
If a new DMB notification entity is created and none of the conditions (the site-wide checkbox, notification pages or content types) are modified, the bar does not display at all. I think it makes sense to have the bar display site-wide by default and apply restrictions if conditions are set as a part of the entity.
Comment | File | Size | Author |
---|---|---|---|
#6 | sitewide_or_content_type-3113546-6.patch | 1.07 KB | eernst |
Comments
Comment #2
eernst CreditAttribution: eernst at Elevated Third commentedThis patch should now make it so that site-wide and content type acts as an and/or with sitewide being the trump. So if a content type is selected it will assign the message bar to that content. But if sitewide is selected it doesn't matter what contents are selected.
Comment #3
eernst CreditAttribution: eernst at Elevated Third commentedComment #4
eernst CreditAttribution: eernst at Elevated Third commentedHere is the actual patch
Comment #5
eernst CreditAttribution: eernst at Elevated Third commentedOne more fix, it was acting as though the content type was the override, the helptext says sitewide is the override.
Comment #6
eernst CreditAttribution: eernst at Elevated Third commentedComment #8
MojiferousComment #9
Mojiferous