ENXF NET
Administrator
Staff member
Administrator
Moderator
+Lifetime VIP+
S.V.I.P.S Member
S.V.I.P Member
V.I.P Member
Collaborate
Registered
- Joined
- Nov 13, 2018
- Messages
- 24,695
- Points
- 823
Reputation:
I need to display a message after refresh page.
Currently if the message is returned the page is not refreshed, and if refreshed no message is displayed.
Does anyone know how can do both?
PHP
Code:
...
Read more
Continue reading...
Currently if the message is returned the page is not refreshed, and if refreshed no message is displayed.
Does anyone know how can do both?
PHP
Code:
Code:
//...
$message = $result['message'];
$this->message(\XF::phrase($message));
$refreshPage = true;
return $this->view('FOX\Products:Product\Index', 'fox_products_index', [
'refreshPage' => $refreshPage
]);
//...
Read more
Continue reading...