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
No comments:
Post a Comment