Simple examples for site builders

Created on 6 May 2022, over 3 years ago
Updated 9 February 2024, over 1 year ago

Problem/Motivation

Is anyone able to provide some simple examples of a few messages that can be eradicated using the module<?p>

Typical examples of what I want to get rid of completely are:

<div data-drupal-messages="">
    <div role="contentinfo" aria-label="Status message" class="messages messages--status">
        <h2 class="visually-hidden">Status message</h2>
        Page <em class="placeholder"><a href="/pages/my-page" hreflang="en">My page</a></em> has been updated.
    </div>
</div>

Can anyone gives us regex-non-saavy site-builders an example of how to do that one and target others like it in order to give us a leg up?

Thank you

💬 Support request
Status

Closed: works as designed

Version

2.1

Component

Miscellaneous

Created by

🇬🇧United Kingdom SirClickALot Somerset

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

  • 🇬🇧United Kingdom SirClickALot Somerset

    Is there any possibility that you can provide a small set of illustrative examples as I still can't really get to grips with using the module effectively.

    Thanks

  • 🇬🇧United Kingdom SirClickALot Somerset

    I am still trying to disable even simple messages but with no joy.
    Here's a more fully-illustrated example in the hope that someone can spot what I'm missing! ...

    Example

    I wish to target this message for destruction

    I configure the module like this...

    There is absolutely no effect, the original message just appears as it did?

    My configuration

    Drupal Version 9.5.9
    Web server: Apache/2.4.33 (Win64) OpenSSL/1.0.2u mod_fcgid/2.3.9
    Database: MySQL  5.7.24
    PHP: 8.1.0
    Front end theme  - a custom subtheme of Bootstrap3

    Can anyone spot what I'm missing please?

  • Status changed to Closed: works as designed over 1 year ago
  • 🇮🇳India mitthukumawat

    @SirClickalot

    I have tried the Article .* has been updated. in Messages to be disabled field. I think it is not working for you because the administrator role has Exclude from message filtering permission by default with installation.

    So please try the debug option Ignore the exclude role permission to check with Administrator role users.

Production build 0.71.5 2024