[+FEATURE] Fluid (ViewHelpers): Add render mode to FlashMessage ViewHelper
authorBastian Waidelich <bastian@typo3.org>
Sat, 27 Nov 2010 11:36:24 +0000 (11:36 +0000)
committerBastian Waidelich <bastian@typo3.org>
Sat, 27 Nov 2010 11:36:24 +0000 (11:36 +0000)
commitceb3880c072215293ddc94125df5ee69ac288e2d
tree8fe054392225ab5722214bf25643df8df988ce3d
parent472451987ca0530fa5828bb0b79fcafa2f905a35
[+FEATURE] Fluid (ViewHelpers): Add render mode to FlashMessage ViewHelper
Since r3062 Extbase uses the t3lib_FlashMessageQueue to store flashmessages.
Now you can output them including title and severity, making it possible
to render flashmessages just like the ones from the core in BE mode.
To keep backwards compatibility, the default rendering still outputs
only the message bodies in an unordered list. Set the renderMode argument
to "div" in order to display the new style:
<f:flashMessages renderMode="div" />

Relates to: #10821
typo3/sysext/fluid/Classes/ViewHelpers/FlashMessagesViewHelper.php
typo3/sysext/fluid/Classes/ViewHelpers/RenderFlashMessagesViewHelper.php