nereliz Posted June 26, 2014 Report Posted June 26, 2014 Hi, I'm wondering maybe it already exists but i just can't figure it out. The problem I faced is then I'm editing a service, lets say changing the package. And then package is changing in module I do some extra work wich later need to be check by staff member and he must confirm that it is ok. But where is no way to set extra message beside the success wich will tell staff member to check / alter other stuff regarding the changes has bean made. Maybe where is away to overwrite a success message by custom one? P.S. Also i notice that flash message overwrites previous message in appController. Lets say if i do $this->flashMessage( "message", "Success user was created" ); and add after that you call $this->flashMessage( "notice", "User password need to be changed"); You will see only notice but not both of them. I think it would be better to allow to set more then one flash message. Quote
Michael Posted June 26, 2014 Report Posted June 26, 2014 If you update a package direct, it updates all the customers services. Say you have a package for $9 but decide you want to sell it for $7, all the customers will then be charged $7. Quote
nereliz Posted June 26, 2014 Author Report Posted June 26, 2014 I understand that bit But In the module I do related changes to my own system and i need to show extra information for staff member. Quote
hsidhu Posted November 27, 2015 Report Posted November 27, 2015 Running into same problem where flash message is been over written. Have anyone found solution. Quote
Tyson Posted November 30, 2015 Report Posted November 30, 2015 Your work-around would be to set multiple messages to the same message type, e.g. $this->flashMessage('error', array('err1' => array('error' => 'Error #1!'), 'err2' => array('error' => "Error #2!"))); Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.