Notification Banners

Hey @gormus, I’m getting this error while trying to install:

An error occurred: Error creating upload asset: splide_css. Original filename Sorry, the file you are trying to upload is not authorized (authorized extensions: wasm, jpg, jpeg, png, woff, woff2, svg, eot, ttf, otf, gif, webp, avif, js).

Update: It worked, I actually forgot to add CSS in extensions.

3 Likes

I add two banners to the same outlet and select carousel on both. But they only show stacked. Am I missing something for the carousel to work?

1 Like

Hi @nolo there needs to be at least 2 banners in the same outlet for the carousel to work; and of course the Display in a Carousel option must be enabled on all banners too. The carousel won’t render if only one of the banners enabled.

Also;

  1. do you get any javascript errors in the browser console? Any of them reference to notification banners?
  2. condering there may be a conflict; were you able to isolate the issue to notification banners by disabling the other themes, components and plugins? or by using the safe mode?

Alternatively, would you mind sharing the settings? So, I can import and try it on my end…

  1. On the Discourse Notification Banners admin page, click on the Settings Editor` button at the bottom of the page.
  2. Copy the JSON data
  3. Strip any sensitive data you may have
  4. Share the JSON data in reply here, or DM me
2 Likes

Thanks @gormus! I’m a bit lost why it didn’t work.. I set it up on two independent instances and didn’t work on both. Now I started again from scratch and works on both! :+1: :upside_down_face:

2 Likes