Does not kick in in the front end theme

Created on 25 April 2023, over 1 year ago
Updated 27 October 2023, about 1 year ago

Problem/Motivation

I am using the Gin admin theme and here Status Messages works exactly as described, looking like this...

The associated markup of the messages wrapper is...

...
<div class="simple-status-messages" style="display: none;">
  <div role="contentinfo" aria-label="Status message" class="status-messages messages--status">
  ...etc

However, when messages are triggered from within the front end theme - (in my case a Bootstrap 3 subtheme) - I do not see the module kicking in and the messages remain in the old style...

The associated markup is untouched by the module..

<div class="messages__wrapper">
            <div class="alert alert-success alert-dismissible" role="status" aria-label="Status message">
    <button type="button" role="button" class="close" data-dismiss="alert" aria-label="Close"><span aria-hidden="true">×</span></button>
            <h2 class="sr-only">Status message</h2>
                  <p>Information page <em class="placeholder"><a href="/features" hreflang="en">Features</a></em> has been updated.</p>
        </div>
  </div>

Platform details

Drupal Version 9.5.8
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 Bootstrap3
🐛 Bug report
Status

Active

Version

4.3

Component

Code

Created by

🇬🇧United Kingdom SirClickALot Somerset

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

Comments & Activities

  • Issue created by @SirClickALot
  • 🇩🇪Germany 4kant

    Same here too.
    Hopefully an easy answer for this issue ;-)

    Thanks!

  • Status changed to Closed: works as designed over 1 year ago
  • 🇩🇪Germany 4kant

    edit: found it just after my post:
    I could change the position in the settings of my bootstrap barrio subtheme.
    Under "Components" and then "Messages".

    Switched this issue to "works as designed".

    Thanks!

  • Status changed to Active about 1 year ago
  • 🇬🇧United Kingdom SirClickALot Somerset

    I am reopening this issue because @4kant's comments do not apply in my case; I am using the Bootstrap 3 theme and there is no setting responsible for say status messages should appear.

    It it as I describe above; it works perfectly fine in the Gin admin theme but seems to have no effect in my subtheme.

    Am I perhaps missing something in the Twig page template?

    Can anyone help please?

Production build 0.71.5 2024