Notify
Notification module for Adminetic Admin Panel
Notification Module for Adminetic Admin Panel
Notification module for Adminetic Admin Panel
Contains: -
Notification Setting Panel
My Notification Panel
Notification Bell
Installation
Step 1: Composer Install
You can install the package via composer:
Step 2: Database Notification
Publish database notification migration
Step 3: Migrate
Migrate notification table.
Step 4: Config
Publish config file
Step 5: Notification Bell
Place notification bell component to views/admin/layouts/components/header
Include Adminetic Notification Adapter
In config/adminetic.php, include
Configuration File
Note: Pusher will be turned of if polling is turned on
Usage
Default Setting Notification using : generalNotify()
This notification will go to all admin users by default, if you want custom user notification you can pass the user collection
Setting configuration for general notification is generated at notification setting
Custom Notification using : notify()
Steps :
Create a notification setting with its name and group
Configure its default value
Extract its name to be used on notify() helper function for example if you named the notification setting as "New User Notification" use notify('new_user_notification')
Default Setting Override
Required field title
and message
Overridable properties are:-
title
message
subject
action
color
type
severity
icon
channels
audience
allow_dismiss
newest_on_top
mouse_over
showProgressBar
spacing
timer
placement_form
placement_align
delay
animate_enter
animate_exit
Usages
Screenshots
Last updated