Feature #29535
closedSeparate FlashMessage by Plugin
0%
Description
We've an intranet with several Extbase extensions. On the front page, there are many plugins from different extensions shown together.
It would be very cool, if the behaviour of the "dumb" FlashMessage stack could be enhanced, so that one can limit a certain FlashMessage to only be shown within a certain extension or even only in a certain plugin of that extension. This would allow us to have show the appropriate success message within the area of a certain plugin on the front page instead of $somewhere else where it has not direct connection to the plugin where the action was fired.
To be backwards compatible, I suggest to have the method that adds a message to the stack to be enriched by one more parameter - if not set, the behaviour is like the current behaviour -> message is shown as soon as the stack is fetched and the messages shown. But as soon as the message is "targeted", it will only be shown if the flash message stack is fetched from that target plugin.
Updated by Mario Rimann about 11 years ago
Is this a stupid proposal and there are better solutions to solve this? Or should this still be implemented?
Updated by Wouter Wolters about 11 years ago
- Status changed from New to Needs Feedback
This is AFAICS already possible since 6.1. See the new \TYPO3\CMS\Core\Messaging\FlashMessageService for the internal working
Updated by Mario Rimann about 11 years ago
Thanks Wouter, saw it now. I think we'll play with that new Queues-Feature. This issue can be closed.
Updated by Alexander Opitz about 11 years ago
- Status changed from Needs Feedback to Closed