Attack
Forum Üyesi
- Katılım
- 4 Şub 2023
- Mesajlar
- 2,618
- Puanları
- 0
I need to display a message after page refresh.
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:
//... $message = $result['message']; $this->message(\XF:
hrase($message)); $refreshPage = true; return $this->view('FOX\Products
roduct\Index', 'fox_products_index', [ 'refreshPage' => $refreshPage ]); //...
TEMPLATE...
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:
//... $message = $result['message']; $this->message(\XF:
TEMPLATE...
Misafirler için gizlenen link, görmek için
Giriş yap veya üye ol.