Closed keeprock closed 8 years ago
I did not test it against other layers, only Growl.
Hi, @keeprock It may be better to do so
$data['title'] = $options['useTitle'] ? $this->getTitle($type) : ''; // not worked now!
\Yii::$app->getSession()->setFlash('success', ' <b>MY CUSTOM Title</b><br>noty success');
What you think about it?
@keeprock , I am added customTitleDelimiter for messages. See readme
First of all. THANK YOU FOR YOUR MODULE. Its such a pain to get notification working inside Yii2, that I'd a breath of relief after I've seen your plugin actually works.
Start using your module and found an issue - there is no way to change a title of notification. Maybe that comes by design, but for me its a critical feature to have. Take a look at this code in Wrapper.php
Especially this line
$type = (in_array($type, $this->types)) ? $type : self::TYPE_INFO;
Only option is either having a prescribed title or a title TYPE_INFO. There is no way to set it.
I created a fork of this. You may take a look at it, I will point a few differences here after I've completed everything.