Skip Navigation

[Resolved] Ajax View not Working

This support ticket is created 7 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

This topic contains 7 replies, has 2 voices.

Last updated by motazA 7 years ago.

Assisted by: Nigel.

Author
Posts
#585105
584995-Screen_Shot_2017_11_01_at_20.59.03.png
584995-Screen_Shot_2017_11_01_at_20.44.53.png
584995-Screen_Shot_2017_11_01_at_20.44.43.png

I am having an issue regarding the Ajax update.

Searching for an answer online i can see that this is a known problem for a lot of Toolset users and the answers always like: something wrong with your theme or your other plugins !!!.

So my question here is:
- If i use Number (4) as you can see on the screenshot attached nothing happened when selecting from the drop-down menu (Ajax not working)

- If i use Number (3) then i must add a Submit button and if i do add the Button it does not show on the front end and again the Ajax update not working

- If i use number (3) then i add Text search (input which i do not want and do not use) + Submit button (as you can see from the second screenshot) then everything is working fine

My theme developer said the theme does not block any Ajax call and i cleared all cash and disabled the rest of the plugin from my site plus tested the page on 3 different browsers but still did not work.

How to solve this issue?
Any Idea?

Kind Regards
M<

#585149

Nigel
Supporter

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

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

Hi there

Thanks for reporting this. The content of your filter editor shouldn't look like that, and I think you have stumbled across an unrelated bug which I would like to track down.

Can I get a copy of your site to see your set up and where this content has been generated? I need to know the name of the View your screenshots relate to.

I will mark your next reply as private so that I can get log-in credentials from you—you may want to create a temporary admin user for me to use that you can later delete. And be sure to have a current backup of your site, even though I don't intend to make any changes other than to temporarily add a backup plugin to take a snapshot of the site.

Depending on what I find I may be able to directly resolve your problem.

#585301

Nigel
Supporter

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

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

Thanks for the site credentials.

My colleagues are looking into the issue where the shortcodes in your Filter Editor have been inserted incorrectly.

Regarding your original question, where is it that you intend to use the View?

There is one View on your site ("Teacher View Related"), but when I scan to see where it has been used it says the View is not currently being used.

Am I missing something?

#585476
Screen Shot 2017-11-02 at 16.02.16.png
Screen Shot 2017-11-02 at 16.02.07.png

I deleted the old one and created a new one so i can see what i am doing wrong but the problem keeps getting worse.

here what i did:
I went to Toolset > View > Add New
Then i created one called "AFA News Archive"

After that, i went to pages then insert the shortcode, but now nothing shows up.

Also, i do not understand the differences between the 2 filters we have (look at the screenshots attached).
If i create a filter using the Query Filter why it does not show up in the filter Editor? or is it something else!!!!

Regards
M<

#585619
Screen Shot 2017-11-02 at 21.50.29.png
Screen Shot 2017-11-02 at 21.50.19.png
Screen Shot 2017-11-02 at 21.47.52.png

I tried many time now and still same thing (Ajax Not Working)

Everything is working now except the Ajax so you got my site credentials please if you can take a look and tell me what is going on.

The View is: Teachers 01 Test
The page i used to display is: Teachers 01 Test

Thanks

#585843

Just wana know ;
Is it too hard to be solved or it is so simple that you guys ignored it .

Thanks

#585853

Nigel
Supporter

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

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

Hi there

I just looked at your site and fixed the issue with that particular View.

It arises from the bug I mentioned earlier, where the contents of the filter editor do not look as expected when inserting your filters. Some of the shortcodes have been wrapped with curly braces {} instead of square brackets, and that is what has broken the functionality.

The problem will be fixed in the next update of Views, and we have a patch available where you can fix the issue now, which is described here: https://toolset.com/errata/betheme-options-page-is-not-working-when-views-2-5-0-is-activated/

On the surface it does not appear to be the same issue, but it is, and the patch should resolve the problem.

Please follow the steps described there. Then when you create a new View and insert filters they should be added correctly.

If you find they are not then let me know straight away.

It looks like this is your first experience using Toolset to create custom searches. I'm sure it has been very frustrating trying to understand how to use Toolset when confronted with this bug, and I'm really sorry that means you getting off to a bad start with it, the timing is very unfortunate.

If you have any more problems don't hesitate to ask here in the forums.

#585922

That was such a great help, Nigel

The patch fixed the problem, hopefully, we get the update for the view very soon

Many thanks
M<