I have a view file which have two forms in it at different positions say,
one form is at the left corner and the other at the right corner.
once the form is submitted successfully , a success message is flashed using
$this->Session->setFlash();
Problem is if Form1 is triggered i want to show the message flash under Form1 ie on the left corner.
Or if Form2 is triggered i want to show the message flash under Form2 ie on the right corner.
But right now both the messages are displayed at the top because i have put in layout
<?php echo $this->Session->flash(); ?>
I want to change this but not know how to achieve this.... :'(