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 #1

Updated by Wouter Wolters over 9 years ago

  • Status changed from New to Rejected

Sorry, we are not gonna change the HTML to the 6.2 way. We now have the HTML based on Twitter Bootstrap.
This particular change is marked in the documentation a breaking change.

Actions #2

Updated by Thomas Hucke over 9 years ago

Hi Wouter,

thanks for your feedback.
Could you please direct me to the mentioned documentation?
I tried to find it on my own without having success :-(

Thank you
Thomas

Actions #3

Updated by Markus Klein over 9 years ago

  • Target version deleted (7.0)
Actions

Also available in: Atom PDF