Show message and redirect.

Talk about writing modules and plugins for CMS Made Simple, or about specific core functionality. This board is for PHP programmers that are contributing to CMSMS not for site developers
Post Reply
mariostg
Forum Members
Forum Members
Posts: 10
Joined: Wed Apr 08, 2020 12:10 pm

Show message and redirect.

Post by mariostg »

if I do this

Code: Select all

echo $this->ShowMessage("Saved!!");
$this->RedirectToAdminTab('Registraire',$params=['hid'=>$ri->id]);
I get the redirect I want, but no message. If I do this:

Code: Select all

echo $this->ShowMessage("Saved!!");
//$this->RedirectToAdminTab('Registraire',$params=['hid'=>$ri->id]);
Well, I get the message displayed, but no redirect. There must be a way to have both done.
Post Reply

Return to “Developers Discussion”