Swal

Display Flash messages on front-end

Back to Swal Support

Pat Och
Pat Och

hi there,

In an OctoberCMS app, i have both debugbar and Swal (sweetalert) plugins installed.
With sweetalert plugin activated, when i use this line in my code

debugbar::info('something');

The message is displayed one second and disappears. Obviously like that, it is less easy to use debug feature.

So i my local dev app, i have to uninstall swal to be able to debug.

Have you some tips to fix it without uninstall swal ?

thanks

Last updated

planetadeleste
planetadeleste

Hello @PatOch

Swal plugin make some ajax request to load the latest Flash messages. Using Debugbar, you need to select another top request, from right dropdown. And them you can see the log.

screen

Pat Och
Pat Och

thanks for the tip, i will try it

1-3 of 3