H
H
hollanditkzn2017-03-21 12:11:10
Yii
hollanditkzn, 2017-03-21 12:11:10

How to make a notification?

I need if a record has appeared or the status is new, a notification appears. How to implement it

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Maxim Timofeev, 2017-03-21
@hollanditkzn

Based on your question, it is difficult to understand what you need, but it is possible:

Yii::$app->session->addFlash('success','Ваш вопрос добавлен, гуляйте лесом');

A
Anton, 2017-03-21
@karminski

Look at the topic of push notifications. There were several articles on Habré and on the toaster too. For example, you can search here:
https://toster.ru/tag/push notifications/questions

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question