Project

General

Profile

Actions

Bug #64050

closed

Change HTML-code for flash maessages

Added by Thomas Hucke over 9 years ago. Updated over 9 years ago.

Status:
Rejected
Priority:
Should have
Assignee:
-
Category:
Fluid
Target version:
-
Start date:
2014-12-27
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
easy
Is Regression:
No
Sprint Focus:

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 <h4>-tag.

Thanks
Thomas

Actions

Also available in: Atom PDF