library notification
Notificationt
notification/notification
Notificationt
- Monday, November 24, 2014
- by ludvigskoglund
- Repository
- 1 Watchers
- 0 Stars
- 3 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 1 Versions
- 0 % Grown
notification
Step 1. Add this code to your CDIFactoryDefault.php
$this->setShared('notification', function() {
$notify = new \notification\notification\Cnotify($this);
return $notify;
});
Step 2. Add this in your controller or where ever you want your notification
$app->notification->insertMessage("Your message", "#color");
Step 3. Add this where you want the message to show
$app->notification->showMessage();
Good luck!