Forums › Forums › Search & Filter Pro › Ajax Issue?
Tagged: ajax
- This topic has 5 replies, 2 voices, and was last updated 9 years, 7 months ago by Ross.
-
Ross Moderator(Private) March 30, 2015 at 7:33 pm #14213
It is likely a JavaScript error on your page – check the JS console using something like firebug.
If you are displaying results using a shortcode then you will need to also ensure “results url” is set correctly, and if you are displaying your results as an archive you will need to make sure you ajax selector is set correctly.
Thanks
Ross Moderator(Private) April 2, 2015 at 6:36 pm #14441Hey Kyle – I’m glad you’ve got it working.
Did you check the last part of this page? –
If so, then do you think that this still needs to make more clear? Happy to update if its going to help people! 🙂
Thanks
Anonymous(Private) April 2, 2015 at 6:46 pm #14443Hello Ross,
Hmm, as feedback — I think screenshots (cropped, of course) would help…
As with your text, maybe you can consider this small edit:
Configuring Ajax
This requires a little knowledge of HTML & CSS, and what CSS selectors are.
Before doing anything at all with Ajax, we must make sure that the above (without Ajax) is working correctly – otherwise you may find it very hard to fix or find errors you may be receiving.
By default, the Ajax’s Results Container is set to #content to be compatible for themes. However, certain themes may require the Results Container to be set to the correct ID / Class, especially when if your Ajax option is checked but your page is constantly refreshing when filters are applied.
[image]
If set correctly, the Results Container’s ID / Class is the area that will then be refreshed when new search results are loaded in via Ajax.
Hope this helps.
Cheers,
KyleRoss Moderator(Private) April 2, 2015 at 6:58 pm #14449Thanks for the suggestion 🙂
I am looking at completely redoing the docs, when we release V2.0 anyway, and hope to make big improvements.
Thanks
-
AuthorPosts