[TYPO3-core] RFC #12154: Improve flashmessages API
Rupert Germann
rupi at gmx.li
Thu Oct 8 17:05:53 CEST 2009
Hi,
this is a SVN patch request (second try ;-) ).
Type: clean-up/improvement
Bugtracker references:
http://bugs.typo3.org/view.php?id=12154
Branches: Trunk
Problem:
The current handling of the message queue for flashmessages happens in
template.php and is quite unflexible.
Storing the messages in the user session is very performance intensive
and it is not needed in all cases.
Solution:
the patch adds a new class which handles the message queue
(t3lib_MessageQueue). All message-handling functions from template.php
are moved to t3lib_MessageQueue.
the patch also extends the flashmessages object by a parameter which
configures whether the message is stored in the session (these messages
will survive redirects) or store them in the messagequeue object (default).
greets
rupert
More information about the TYPO3-team-core
mailing list