add possibility to output FlashMessageQueue
It seems that there's no way to output the FlashMessageQueue in a extbase driven be-module.
The attached patch adds a simple ViewHelper which outputs the queue.
It would be good if this could be included into 4.5 beta1 because I'd like to make use of it within the new workspace module.
Updated by Bastian Waidelich over 11 years ago
- File 10821_extbase_v2.patch 10821_extbase_v2.patch added
- File 10821_fluid_v2.patch 10821_fluid_v2.patch added
Attached patches extend Extbase and the FlashMessage ViewHelper of Fluid in order to use the t3lib_FlashMessageQueue.
To stay backwards compatible, the FlashMessage will render an unordered list with the messages as simple string by default. If you want it to output them in the TYPO3 core format, use the optional argument "renderMode":
<f:renderFlashMessages renderMode="div" />