Skip Navigation

[Resolved] Ajax update results every time an input changes doesn't work with Impreza

This support ticket is created 3 years ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 7 replies, has 3 voices.

Last updated by Waqar 2 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#2223735
Captura-de-Pantalla-2021-11-18-a-la(s)-00.46.16.jpg

I am trying to: update the results when an input changes with ajax, but it doesn't work with Impreza, if I change the theme there is no problem.

Link to a page where the issue can be seen: hidden link

I expected to see: the results change every time I select a category.

Instead, I got: no changes.

#2223965

Nigel
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/London (GMT+00:00)

Checking the custom archive on your site there is a problem with how the filter has been inserted.

This is the correct structure of the filters section:

[wpv-filter-start hide="false"]
[wpv-filter-controls]
<-- filter shortcodes go here -->
[/wpv-filter-controls]
[wpv-filter-end]

On your site it is

[wpv-filter-start hide="false"]
[wpv-filter-controls]
[wpv-filter-end]
<div class="form-group">
	<label for="wpv-categoria-avisos">[wpml-string context="wpv-views"]Categorias avisos[/wpml-string]</label>
	[wpv-control-post-taxonomy taxonomy="categoria-avisos" type="checkboxes" url_param="wpv-categoria-avisos"]
</div>

The closing /wp-filter-controls shortcode is missing and the filter is inserted after the closing /wpv-filter-end shortcode, so this would not be expected to work as the markup is being generated incorrectly on the front end.

#2224059

Hi, thanks for the quick answer!
I've made the change that you indicate but the problem continues.

#2224597

Thanks for the update.

During troubleshooting on your website's clone, I noticed that the AJAX filtering in the archive starts working, if the "UpSolution Core" plugin is deactivated.

Can you please test and confirm the same on your live website? Once, confirmed you can report this to the "UpSolution Core" plugin's official support team.

#2229249

Hi, I've change in Toolset to Bootstrap 3 and now everything is working, even the fonts are working properly. The changes made in Impreza options: fonts family, font size, line height, are now working properly. It seems that Bootstrap 4 override css options from the theme and js.

#2229553

Thanks for the update and glad that it is working now.

This information will surely help other users, who are using Toolset plugins with the Impreza theme.

You're welcome to mark this ticket as resolved and start a new one, for each new question or concern.

#2230475

Hi, but is there a way to use Impreze theme with bootstrap 4? Cause now I have to add a lot of css in order to get the design right like it was with bootstrap 4.
Thanks again!

#2230545

As it is a compatibility issue between the Impreza theme and the Bootstrap 4, it would be best to consult the theme author for any possible workaround or fix.

Alternatively, if the theme author is unable to provide any workaround/fix and you'd like to use Toolset plugins with Bootstrap 4 enabled, then you'll need to switch to a different theme that doesn't conflict with Bootstrap 4 styles and scripts.
( The list of Toolset recommended themes is available at https://toolset.com/documentation/recommended-themes/ )