[Flow] $this->addFlashMessage HTML Code

David Sporer david.sporer at gmail.com
Mon May 18 15:05:33 CEST 2015


First answer was only to Patric... Therefore another one to the list:Hi Patric,try this:$this->addFlashMessage('Your error message', 'Headline', \TYPO3\Flow\Error\Message::SEVERITY_ERROR);This will render the flash message with Error CSS classes which you can use to style your error message.Regards,David
> From: mail at patriceckhart.com
> Date: Sat, 16 May 2015 17:26:32 +0200
> To: flow at lists.typo3.org
> Subject: [Flow]  $this->addFlashMessage HTML Code
> 
> Hey guys,
> 
> I've tried to add HTML Code in $this->addFlashMessage(''); but it doesn't work.
> 
> The line in my controller:
> $this->addFlashMessage('<strong>Error.</strong>');
> 
> I also tried <f:format.raw> in Fluid Template, but it also doesn't work. :-(
> 
> Can you help me?
> _______________________________________________
> Flow mailing list
> Flow at lists.typo3.org
> http://lists.typo3.org/cgi-bin/mailman/listinfo/flow
 		 	   		  


More information about the Flow mailing list