Skip Navigation

[Gelöst] Views filter (AJAX) doesn’t work with Elementor

Dieser Thread wurde gelöst. Hier ist eine Beschreibung des Problems und der Lösung.

Problem:
Views filter (AJAX) doesn't work with Elementor

Solution:
The user has corrupted view settings and creating a new view works just fine with Elementor and AJAX filtering.

Relevant Documentation:
=> https://toolset.com/course-lesson/using-toolset-with-elementor-page-builder/

This support ticket is created vor 2 Jahren, 8 Monaten. 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.

Heute stehen keine Supporter zur Arbeit im Werkzeugsatz-Forum zur Verfügung. Sie können gern Tickets erstellen, die wir bearbeiten werden, sobald wir online sind. Vielen Dank für Ihr Verständnis.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10: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/Kolkata (GMT+05:30)

Dieses Thema enthält 5 Antworten, hat 2 Stimmen.

Zuletzt aktualisiert von cassianS vor 2 Jahren, 8 Monaten.

Assistiert von: Minesh.

Author
Artikel
#2329239

Tell us what you are trying to do?
- I am trying to set up the view with a filter in the Elementor-built page. The view didn't appear using the Elementor Toolset module.
Also, the view doesn't appear when I use a view shortcode to display both: view and filter.
The view + filter shows up only when I use two shortcodes: for filter and for the view layout separately.
However, there is an issue with a filter AJAX option. It doesn't work at all (the option of the filter with a page reload and submit button works).
I tried to disable all plugins and to use standart WP theme - the issue remain the same. I also rolled back Elementor to 3.5.6 because new versions were glitchy - it didn't help as well.
I checked PHP logs - nothing. Also, there is no JS error in the developer tools of a browser.

Is there any documentation that you are following?
- nope

Is there a similar example that we can see?
- it's a very simple general view, honestly.

What is the link to your site?
- versteckter Link

#2329451

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

I will require a bit more information here. Can you please tell me how you created the view (using block or classic view)?
- Do you want to display custom search and result both together or you want to split the search form and search result?

If you use view widget to display the search form and then display the search result on different section then AJAX search will not work as its by design.

If you can tell me how exactly you want to display the view section (search form, search result) then I will check and get back to you.

#2329533

Hi Minesh. Thank you for a quick reply.

Can you please tell me how you created the view (using block or classic view)? ==> I used a classic view, shortcode, embedded into Elementor shortcode block.

- Do you want to display custom search and result both together or you want to split the search form and search result?
==> doesn't matter to me. I need a view with a filter on the same page. I had to use shortcodes (for filter and for layout) because otherwise, the view didn't show up at all.

If you use view widget to display the search form and then display the search result on different section then AJAX search will not work as its by design.
===> I embeded two shortcodes into the same shortcode block from Elementor. Shortcodes look like this
[wpv-form-view name="viewname"]
[wpv-view name="rodan-viewname-main-view" view_display="layout"]

If you can tell me how exactly you want to display the view section (search form, search result) then I will check and get back to you.

==> in my case I just want to have a view with a filter. Filter should be checkboxes with AJAX, so when user click on a checkbox it gets the result. The view is simple, nothing complex. And in my case It doesn't matter how exactly the view works in terms of either it done with a shortcode or Elementor Toolset block etc...

#2329611

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

Can you please share access details and problem URL where you added the view as well as share information what Elementor template you are using.

*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.

I have set the next reply to private which means only you and I have access to it.

#2330127

Minesh
Supporter

Sprachen: Englisch (English )

Zeitzone: Asia/Kolkata (GMT+05:30)

It seems the view you have created must be corrupted.

I've created the following test view with custom search:
=> versteckter Link

I've added that view to the same page using the shortcode module: versteckter Link

Can you please confirm it works as expected.

#2330311

Hi Minesh. Thank you very much for your help.