Bug #64050
closedChange HTML-code for flash maessages
0%
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
Updated by Wouter Wolters almost 10 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.
Updated by Thomas Hucke almost 10 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
Updated by Markus Klein almost 10 years ago
- Target version deleted (
7.0)
https://git.typo3.org/Packages/TYPO3.CMS.git/tree/HEAD:/typo3/sysext/core/Documentation/Changelog/7.0
https://git.typo3.org/Packages/TYPO3.CMS.git/tree/HEAD:/typo3/sysext/core/Documentation/Changelog/master
A rendered version of "master" can be found also here: http://docs.typo3.org/typo3cms/extensions/core/latest/
I'm sorry that this is still a bit hidden, but I don't know the state of the Doc-team's work.