Allow block visibility conditions based on url parameters to work with front-end rendering

From our testing url parameter visibility conditions for blocks do not seem to work within a query with front-end rendering switched on.

This feature will be extremely useful for toggling the visibility of certain elements based on changes to filters.

Screenshot 2023-04-19 at 13.16.07

Thanks.

Hi @Louis, you may already be fully aware, but just to give a quick update, from our testing this still doesn’t appear to be working yet, with 1.2.9.7.2.

1 Like

Hello @StrangeTech,

Thanks for bringing this up again.

1.2.9.7.2.1 should allow you to initially show/hide blocks depending on the URL parameter, and this every time the Query content is updated.

The final part of this integration is to make sure we’re listening to URL changes so that whenever they do happen, this is instantly applied to blocks with URL Parameter conditions.

Thanks for your patience on this one.

Cheers,

1 Like

Thank @Louis, I will test this again with the new version tomorrow.

I confirm after testing that this now works perfectly for us. Thank you @Louis!