Do you mean the style? If so, by default the message is placed into a div (for
example, for an auth error, div id="flashMessage") which you can style using
CSS. Or you can set a particular class when you set the flash message:
$this->Session->setFlash('Example message text', 'default', array('class' =>
'example_class'))
See http://book.cakephp.org/view/1313/setFlash
Jeremy Burns
Class Outfit
[email protected]
http://www.classoutfit.com
On 8 Aug 2010, at 05:38, hoss7 wrote:
> how can i customize error message(setflash or flash function)?
>
> Check out the new CakePHP Questions site http://cakeqs.org and help others
> with their CakePHP related questions.
>
> You received this message because you are subscribed to the Google Groups
> "CakePHP" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected] For more options, visit this group at
> http://groups.google.com/group/cake-php?hl=en
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
You received this message because you are subscribed to the Google Groups
"CakePHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected] For more options, visit this group at
http://groups.google.com/group/cake-php?hl=en