I was wondering is there a way to add a class to the session from the controller? The setflash as far as i can see is used for alerting user after a save attempt so $this->Session->setFlash(__('Information Updated.', true)); or $this->Session->setFlash(__('Error! Please try again.', true)); So the idea would be for the success message add a class so the message text is green if failed text is red. Any way this can be done? Dave
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