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

Multiple notifications #3

Open
sagunkho opened this issue Jul 12, 2016 · 2 comments
Open

Multiple notifications #3

sagunkho opened this issue Jul 12, 2016 · 2 comments

Comments

@sagunkho
Copy link

It's not possible to have more than one Pnotifs on a page.

@mikeberb
Copy link

+1

@m4rl0ne
Copy link

m4rl0ne commented Apr 28, 2018

May not be the perfect solution, but this works:

@if (Session::has('notifier.notice'))
       <script>
            @foreach((array) session('notifier.notice') as $message)
                 new Pnotify({!! $message !!});
            @endforeach
       </script>
@endif

Insert this in your blade template.

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

No branches or pull requests

3 participants