RichardKYA
Well-known member
Hi all,
How do I display a success message, update the information and stay on the current page?
I know using...
...will display a message and redirect to the specified path, but how do I display a message in the same way (via the timed drop down message) but without the redirect?
Thank you for any input
How do I display a success message, update the information and stay on the current page?
I know using...
Code:
return $this->responseRedirect(
XenForo_ControllerResponse_Redirect::SUCCESS,
XenForo_Link::buildPublicLink('route', $item),
new XenForo_Phrase('success_message_phrase')
);
...will display a message and redirect to the specified path, but how do I display a message in the same way (via the timed drop down message) but without the redirect?
Thank you for any input