Feature #10821
add possibility to output FlashMessageQueue
Status: | Resolved | Start date: | 2010-11-15 | |
---|---|---|---|---|
Priority: | Should have | Due date: | ||
Assigned To: | Bastian Waidelich | % Done: | 0% |
|
Category: | ViewHelpers | |||
Target version: | - | |||
Has patch: |
Description
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.
History
#1 Updated by Steffen Ritter over 4 years ago
+1 reading and testing,
but If sb. would have the time, I would prefer to use the already in place FlashMessage ViewHelper and behave different in case of TYPO3_MODE== BE or FE.
regards
Steffen
#2 Updated by Bastian Waidelich over 4 years ago
- Tracker changed from Bug to Feature
- Project changed from Extbase MVC Framework to TYPO3.Fluid
- Status changed from New to Accepted
- Assigned To set to Bastian Waidelich
#3 Updated by Bastian Waidelich over 4 years ago
- Category set to ViewHelpers
- Branch set to v4
#4 Updated by Bastian Waidelich over 4 years ago
- File 10821_extbase_v2.patch added
- File 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" />
#5 Updated by Tolleiv Nietsch over 4 years ago
+1 by reading and testing the v2 patches :)
#6 Updated by Bastian Waidelich over 4 years ago
Thanks Tolleiv, it's already committed ;)
#7 Updated by Bastian Waidelich over 4 years ago
- Status changed from Accepted to Resolved
Applied in changeset r3063