Issue Bug Rejected

#64050Change HTML-code for flash maessages

Thomas Hucke 12/27/14, 19:32 updated 01/04/15, 01:05

Description

Hi,

in TYPO3 7.0.2 generated HTML code for flash messages look like this (example from my extension th_rating):

<div style="opacity: 0.9; display: none;" class="tx-thrating-flash-message" aria-life="assertive" aria-atomic="false" aria-relevant="text">
   <div class="typo3-messages">
      <div class="alert alert-success">
         <h4>Success</h4>
         <div class="alert-body">Your new vote was created.</div>
      </div>
   </div>
</div>

The same flash message HTML code generated by TYPO3 6.2.9 looks like this:

<div style="opacity: 0.9; display: none;" class="tx-thrating-flash-message" aria-life="assertive" aria-atomic="false" aria-relevant="text">
   <div class="typo3-messages">
      <div class="typo3-message message-ok">
         <div class="message-header">Success</div>
         <div class="message-body">Your new vote was created.</div>
      </div>
   </div>
</div>
Due to the modifications in CSS-classes extensions have to be changed if they what the same look-and-feel as running under version 6.2.
I would suggest switching back to the old class names of 6.2. Extension could easily cope with if you like to switch the message header to the

-tag.

Thanks
Thomas

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.