Skip to content

Commit

Permalink
Update "Flash Messages" chapter
Browse files Browse the repository at this point in the history
- DocumentTemplate no longer exists, so remove the FLASHMESSAGES marker text.

(cherry picked from commit 934d85e)
  • Loading branch information
IndyIndyIndy authored and sypets committed Jul 23, 2020
1 parent 3622739 commit 6c6ebb6
Showing 1 changed file with 1 addition and 7 deletions.
8 changes: 1 addition & 7 deletions Documentation/ApiOverview/FlashMessages/Index.rst
Expand Up @@ -94,13 +94,7 @@ messages from the queue. Here's how such a message looks like in a module:
A typical (success) message shown at the top of a module


By default flash messages are shown atop the content of a
module. However, if needed, you can change where the messages are
shown by manipulating a module's template and inserting the
:html:`###FLASHMESSAGES###` marker. Messages will then replace that marker
instead of appearing at the top of the module.

The recommend way is to use the fluid ViewHelper :html:`<f:flashMessages />`.
The recommend way to show flash messages is to use the fluid ViewHelper :html:`<f:flashMessages />`.
This ViewHelper works in any context because it use the :php:`FlashMessageRendererResolver` class
to find the correct renderer for the current context.

Expand Down

0 comments on commit 6c6ebb6

Please sign in to comment.