Try something along these lines: $this->Session->setFlash (__ ('Message.', true), true, array('class' => 'flashError') );
Jeremy Burns jeremybu...@me.com On 9 Feb 2010, at 14:32, toka...@gmail.com wrote: > Hi, I am trying to set a custom layout for Auth flash message. > setFlast() support that but it seems to be hardcoded in the core for > case of auth messages. > > > any idea how to set my own layout wrapper around this message ... > > "Login failed. Invalid username or password." ??? > > thanks > help appreciated. > Tomas > > 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 cake-php@googlegroups.com > To unsubscribe from this group, send email to > cake-php+unsubscr...@googlegroups.com 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 cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en