Hi friends , i have been working as a php developer and learning CakePHP, web Development. I am here to enhance my learning on Cakephp & want to customize flash message with alert flash box in our CakePHP web application. I hope any tech developer can help me over here in resolving the issue.
$this->Session->setFlash(__(‘my message’), ‘flash_error’);
and place the flash_error.ctp element in app/View/Elements folder
if you want info message
$this->Session->setFlash(__(‘my message’), ‘flash_info’);
and place the flash_info.ctp element in app/View/Elements folder