Re: setFlash and key

2010-09-22 Thread Jeremy Burns | Class Outfit
I read the code for the Session helper, and this behaviour is correct. The div does inherit its id from the key, so you can't place css against the id of the div in a generic way (unless you want to add a style for each potential id). I have made the styles completely class based. Jeremy Burns

setFlash and key

2010-09-22 Thread Jeremy Burns
According to the guide, if I do this: $this->Session->setFlash('A message.', 'default', array('class' => 'warning'), 'reset_password'); ...and this in a view: echo $this->Session->flash('reset_password'); ...I ought to get this: A message. ...but I am actually getting this: A message. In ot