Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The pop ups notifications dosen't show #55

Open
ricar2ce opened this issue Apr 12, 2018 · 1 comment
Open

The pop ups notifications dosen't show #55

ricar2ce opened this issue Apr 12, 2018 · 1 comment

Comments

@ricar2ce
Copy link

ricar2ce commented Apr 12, 2018

I have the module perfectly configured, but the pop-ups dosen't shown:

 'notifications' => [
            'class' => 'machour\yii2\notifications\NotificationsModule',
            // Point this to your own Notification class
            // See the "Declaring your notifications" section below
            'notificationClass' => 'rce\components\Notification',
            // Allow to have notification with same (user_id, key, key_id)
            // Default to FALSE
            'allowDuplicate' => false,
            // Allow custom date formatting in database
            // 'dbDateFormat' => 'Y-m-d H:i:s',
            // This callable should return your logged in user Id
            'userId' => function() {
                return \Yii::$app->user->id;
            }
        ],

NOTE: i used the advanced template.

thanks in advance

@machour
Copy link
Owner

machour commented Apr 12, 2018

Hi @ricar2ce, you will need to share more information in order to get support.
Do you see the ajax calls being fired in your console? What's the response for an ajax call?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants