[TYPO3-core] RFC #16318: Enable FlashMessages to fade out after delay

Steffen Gebert steffen at steffen-gebert.de
Tue Nov 9 18:40:07 CET 2010


Hi!

This is a SVN patch request.

Type: Feature

Bugtracker reference:
http://bugs.typo3.org/view.php?id=16318

Branches:
trunk

Problem:
There are two kinds of FlashMessages:
* t3lib_FlashMessage, which provides static FlashMessages, directly
   outputted in HTML
* top.TYPO3.FlashMessage, which provides ExtJS driven FlashMessages,
   which look pretty much the same as the static ones, but fade out
   after some delay.
There is no clean and easy way, to create a disappearing message from PHP.

Solution:
This change introduces two new methods for t3lib_FlashMessage:
* setDisappear()
* setDisappearDelay()
which make a t3lib_FlashMessage ExtJS-driven.

Note:
Test together with #16292's v5

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16318.diff
Type: text/x-diff
Size: 2491 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101109/d38e10fa/attachment-0001.diff>


More information about the TYPO3-team-core mailing list