[TYPO3-core] RFC: #12709: Forgotten flash message in user setup

Georg Ringer mail at ringerge.org
Mon Nov 23 18:10:12 CET 2009


This is an SVN patch request.

Type: Bugfix, nobrainer

Bugtracker references:
http://bugs.typo3.org/view.php?id=12709

Branch: Trunk

Problem:
Another forgotten flash message at the bottom of the user settings
holding the text "Notice! In order to activate most of these changes,
please reload the backend (eg. logout and login again)."

Solution:
use flash message

Additional information / question:
which code should be used for something like this:
----------------
$flashMessage = t3lib_div::makeInstance(
	't3lib_FlashMessage',
	$LANG->getLL('activateChanges'),
	'',
	t3lib_FlashMessage::INFO
);
$this->content .= $flashMessage->render();
----------------

or

----------------
$this->content .= t3lib_div::makeInstance(
	't3lib_FlashMessage',
	$LANG->getLL('activateChanges'),
	'',
	t3lib_FlashMessage::INFO
)->render();
----------------

patch is for version #1


Cheers,
Georg
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 12709-flash-msg.patch
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20091123/f6d88257/attachment.asc>


More information about the TYPO3-team-core mailing list