Forums › Forums › Search & Filter Pro › Ajax tries but still loads entire category
- This topic has 8 replies, 3 voices, and was last updated 10 years, 4 months ago by Ross.
-
Anonymous(Private) July 22, 2014 at 7:20 pm #2814
Hi Ross,
This plugin looks great! I’m just having a little difficulty getting the ajax to work properly. I’ve created a new search template. And the plugin works fine with ajax disabled.
The problem is, when enabled, ajax doesn’t load the relevant selections, it just sortof refreshes and reloads all the entries.
It’s just a simple radio box list with tags. Any help would be greatly appreciated!
Ross Moderator(Private) July 24, 2014 at 1:46 pm #2890HEy Chris, sorry, I’ll look at this this evening – to speed things up would you be able to send me your login details too so when I look I can make some quick fixes? 🙂
Send in a private message here or via our contact form – http://designsandcode.com/contact
Thanks
Ross Moderator(Private) July 25, 2014 at 3:21 pm #2927Hey Chris I didn’t find a solution yet however I will be spending all sunday on S&F support so hopefully it will be fixed then 🙂
Anonymous(Private) July 26, 2014 at 1:26 pm #2948Hi Guys
I seem to be having the same problem. I’m trying to set up a two-pronged filter on a custom page template containing a list of posts from a single custom post type. I’m setting the first filter to filter between two categories and the second, various tags. The Ajax loads the entire list of posts every time. Any help would be greatly appreciated!
Ross, I’m happy to give you the keys to the car so you can take her for a spin…
C
Ross Moderator(Private) July 28, 2014 at 12:08 am #2968Hey Caleb, can you start a new thread please? I will continue to help Chris here and I’ll help you out in another… 🙂
Ross Moderator(Private) July 28, 2014 at 12:14 am #2969Hey Chris, so finally had a better look and a couple of suggestions we can try get things working. The thing is it is strange, because normal filter seems to work fine (without ajax) although the format of results is slightly different.
Basically, there is no clear unique ID on both the landing page (http://www.holmfirth.org/places-to-eat/) and the search results page (http://www.holmfirth.org/?_sft_post_tag=guest-house&sfid=r6)
So I would suggest on the two templates used for each page to create a DIV around your results list with a unique ID – and use this ID on both templates – then use this for your AJAX content selector – but this may not be the problem.
I had another idea just now, which may actually be a problem with the plugin – that the search results page also needs and instance of the S&F form, so if you go to the results page – http://www.holmfirth.org/?_sft_post_tag=guest-house&sfid=r6 can you also try to add a search form here, possibly in the widget area where it says “kkk”?
If non of the above works fire over your ftp details and I’ll do some debugging.
Thanks
-
AuthorPosts