Dannymh
Active member
Hi all,
Back again with possibly a moronic question.
I am doing a bunch of things in a controller after the entity has done its things. Basic process is
User fills in form and submits >> Entity saves the information after doing a few pre and post things >> Controller does some pre-load decision making based on data. Some of those things are fine to have the flash message and redirect functionality, however other things are more important for users to see. So I want to pop this up in a modal that they dismiss and then the page is redirected after that.
I can do those more important things inside the entity to a degree and
is there an inbuilt way to instead have the controller logic pop up a modal message and then redirect after they click on the X or ok or whatever?
Back again with possibly a moronic question.
I am doing a bunch of things in a controller after the entity has done its things. Basic process is
User fills in form and submits >> Entity saves the information after doing a few pre and post things >> Controller does some pre-load decision making based on data. Some of those things are fine to have the flash message and redirect functionality, however other things are more important for users to see. So I want to pop this up in a modal that they dismiss and then the page is redirected after that.
I can do those more important things inside the entity to a degree and
$this->error('my important note')
however that will also not do the redirect afterwardsis there an inbuilt way to instead have the controller logic pop up a modal message and then redirect after they click on the X or ok or whatever?