[TYPO3-english] Re: Hide default error messages

Siva Prasad sivaprasad.s at pitsolutions.com
Wed Jan 7 12:18:08 CET 2015


This was fairly simple. 


        /**
	 * A template method for displaying custom error flash messages, or to
	 * display no flash message at all on errors. Override this to customize
	 * the flash message in your action controller.
	 *
	 * @return string|boolean The flash message or FALSE if no flash message should be set
	 * @api
	 */
	protected function getErrorFlashMessage() {
		return 'An error occurred.';
	}


More information about the TYPO3-english mailing list