[TYPO3-english] flashmessages
Kay Strobach
typo3 at kay-strobach.de
Fri Dec 3 07:41:28 CET 2010
Hi List,
is there anyway to tell a flashmessage from php to appear as JS
Flashmessage?
Normal HTML
$flashMessage = t3lib_div::makeInstance(
't3lib_FlashMessage',
$LANG->getLL('selectpage_description'),
$LANG->getLL('selectpage_tip'),
t3lib_FlashMessage::NOTICE
);
t3lib_FlashMessageQueue::addMessage($flashMessage);
Would be nice to have:
top.TYPO3.Flashmessage.display(1, 'TYPO3 Backend - Version 4.4', 'Ready
for take off', 3);
Otherwise the flashmessages could be detected and converted to JS ones
;) in the Backend.
Thanks.
Kay
More information about the TYPO3-english
mailing list