[TYPO3-dev] how can I use those new colorful flash messages in backend?

Cyrill Helg phlogsmailinglists at gmail.com
Wed Jan 6 13:45:45 CET 2010


On Monday 04 January 2010 11:41:51 Steffen Ritter wrote:
> Cyrill Helg schrieb:
> > On Sunday 03 January 2010 14:58:09 Steffen Ritter wrote:
> >> Yes there is.
> >> "Somewhere" in the Wiki there is an OpenDocument File describing the
> >> usage. But as it is really simple, just have a look at
> >>  t3lib_FlashMessage...
> >
> > Yes I found that, thanks.
> >
> > However I'm wondering whats the best way to show a user a message after
> > he saved a data record in TCE (fe_users table). Because when I just print
> > out (from a tce database hook) the flash message html, its print on top
> > of the frame and messes it up. I know its not the best idea to manipulate
> > data like this, but I just need to send an email in the background when a
> > certain field is changed and it would be nice to notice the user about
> > that.
> >
> > Regards
> > Cyrill
> 
> So don't render a FlashMessage just set one, TYPO3 Backend will render
> all "stored" FlashMessages itself.

Hmm and where does it render them?

I can't see it using this code:

		t3lib_div::makeInstance(
			't3lib_FlashMessage',
			'huhu',
			'',
			t3lib_FlashMessage::INFO
			);
I tried true and false for the last arguement.

Greets
Cyrill

> _______________________________________________
> TYPO3-dev mailing list
> TYPO3-dev at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/typo3-dev
> 




More information about the TYPO3-dev mailing list