Project

General

Profile

Actions

Bug #23996

closed

Enable FlashMessages to fade out after delay

Added by Steffen Gebert about 14 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2010-11-09
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

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.

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

(issue imported from #M16318)


Files

16318.diff (2.43 KB) 16318.diff Administrator Admin, 2010-11-09 18:37
16318v4.diff (2.36 KB) 16318v4.diff Administrator Admin, 2010-11-13 23:31
16318v4_PageRenderer.diff (2.48 KB) 16318v4_PageRenderer.diff Administrator Admin, 2010-11-13 23:31

Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #23978: Show FlashMessage when cache of a single page has been clearedClosed2010-11-07

Actions
Actions #1

Updated by Ingo Renner about 14 years ago

v4 with page renderer is actually not working, but to me would seem the cleaner version.

The code in the queue to add the JS via page renderer is called after the the page renderer has echoed and the ExtOnReady code already...

Actions #2

Updated by Alexander Opitz about 11 years ago

  • Status changed from New to Needs Feedback
  • Target version deleted (0)
  • Is Regression set to No

Hi,

as this issue is very old. Does the problem still exists within newer versions of TYPO3 CMS (4.5 or 6.1)?
IMHO this was implemented alright.

Actions #3

Updated by Alexander Opitz over 10 years ago

  • Status changed from Needs Feedback to Closed

No feedback within the last 90 days => closing this ticket.

If you think that this is the wrong decision or experience this issue again, then please write to the mailing list typo3.teams.bugs with issue number and an explanation or open a new ticket and add a relation to this ticket number.

Actions

Also available in: Atom PDF