NO BUG: JetSmartFilter: Error with lightbox

Hi, on this page I am using 2 types of lightbox, one for images and one for videos, it works “fine” but after using the filter (with JetSmartFilter) it doesn’t open the lightbox but the url of the direct file, both for images and videos.

https://hatemdasuky.com/galeria/

Hello @timmse , any response on this, as it is practically an on-air project.

Hi Yesid,
Thanks for your report!

It would be best if you contact JetSmartFilter support. The lightbox stops working after filtering because bricksPhotoswipe() needs to be called again. This must be changed within the plugin code and cannot be changed within Bricks.

Best regards,
timmse

I’ve reported to Crocoblock a similar problem (popup not working after using a filter). No response, except that devs are looking into it. That is typical Croco behavior…

Best regards,
Goran

Hi Stefan,

It seems that “Page reload” works, but there are no settings for offset after reload. Since I’m no coder can you point me to some solution that can offset every time the filter is applied? TIA!

Best regards,
Goran

Hi @tole011 ,

May I know what is your current issue?
Is it the old popup issue that you should have already fixed by your custom code in May?

Don’t quite understand the “page reload”, “offset” and the Popup issue.
Maybe you could open a new thread to describe it in more detail?

Regards,
Jenn

Hi Jenn,

Thanks for your time.
Issue stays the same. Popup with dynamic data within the loop is not working after JetSmartFiler is applied. “Page reload” is the method of applying a filter - you have to click on a dedicated button and then the page is reloaded with results. The problem is that it shows the beginning of the page and that is why “offset” is needed - to set focus on filer results. Hope that this make sense.

Best regards,
Goran

Hi Goran,

That sounds like the “Page reload” didn’t filter anything but just worked like a refresh.
Suppose the filter plugin should filter the query result, so the looping Popup with dynamic data should reflect the latest filtered content, right?

Actually the explanation is just like what I did here NO BUG: Query loop, Popup, JetSmartFilters problem - #14 by itchycode

I am very sorry that I can’t provide any solution for this from Bricks. :cry:

By the way, the Offset parameter already exists in our Query loop UI.

Regards,
Jenn

Hi Jenn,

Thanks for your time.

These kinds of controls (“Enable autoscroll” and “Provider top offset”) I need for the filter widget. I know that it’s Crocoblock job, but hope that some short JS can help :sweat_smile:.

Anyway, for now, I can’t finish the project in Bricks because of popup implementation in loops. I have loops with more than 60 items each with a dynamic popup with pictures. Loading time is not good.
I won’t burden you with this anymore.

Best regards,
Goran

Not a Solution, but BricksExtras has a feature called Dynamic Lightbox which does exactly what you want.

I am using it together with WPGridbuilder filters. Works very well.

Cheers

Patric

Thanks, Patric for your time. The problem is that it is becoming a trend with new features. What is the point of having it if I need to buy third-party add-ons to have full functionality? Looks like Oxygen all over again.

Best regards,
Goran

Well, I think the issue started with using the JetSmartFilter, so I am of the opinion that we can’t fault Bricks for an issue with an external plugin.

1 Like

Agree :100:. My last comment was about the popup builder within Bricks.

Best regards,
Goran

1 Like

For those who are interested: JetSmartFilter 3.2.1 fixes the problem with the lightbox.

Best regards,
Goran