Show message and redirect.
Posted: Mon Apr 27, 2020 3:24 pm
if I do this
I get the redirect I want, but no message. If I do this:
Well, I get the message displayed, but no redirect. There must be a way to have both done.
Code: Select all
echo $this->ShowMessage("Saved!!");
$this->RedirectToAdminTab('Registraire',$params=['hid'=>$ri->id]);
Code: Select all
echo $this->ShowMessage("Saved!!");
//$this->RedirectToAdminTab('Registraire',$params=['hid'=>$ri->id]);