Forums › Forums › Search & Filter Pro › Moved: Reply To: ajax loading not working
- This topic has 9 replies, 3 voices, and was last updated 10 years, 7 months ago by Ross.
-
Anonymous(Private) May 28, 2014 at 3:30 pm #920
Hey,
i’m having same problem aswell. Amin got it working but you haven’t explained how to.
In my case, the results are showing but when i turn on ajax, content area goes to grey and back.Ross you’ve written you’re going to make a video of the solution. Is it already out?
Best regards from germany
Ross Moderator(Private) May 28, 2014 at 3:47 pm #922Hey Ronald
Yeah I’m trying to get a tutorial up but its a bit of juggling, with doing bug fixes and some updates to the plugin at the same time…
Should be soon though. Want to send me your login details and I’ll take a look?
Thanks
RossRoss Moderator(Private) May 28, 2014 at 3:47 pm #923Ah our messages crossed I’ll have a look soon ๐
Anonymous(Private) May 28, 2014 at 6:09 pm #927Hey Ross,
im not getting to the point ๐
http://novoline-merkur.com/search-and-filter/There is search form included in main content area and search-form widget in page sidebar.
Both are using main content area to display search results, but i’m not sure how the slug url is used in that case.Thank you so much for your help
Ross Moderator(Private) May 28, 2014 at 6:59 pm #929Hey Ronald
I made some modifications as an example…
Now you should go to – http://novoline-merkur.com/search-results/ in search & Filter settings, this is defined by “slug”…
So, the page that has that the widget embedded, must also use the the same template as the results for AJAX to work properly…
So, I’ll try to explain a little more :/
The page with the search widget in the sidebar is:
http://novoline-merkur.com/search-and-filter/
This page is using the
page.php
template.Your search results template must be the same (i.e,
page.php
) for ajax to work from that page (this is because the layout must be the same, so jQuery can match up the content properly)….In S&F settings, I changed the custom template to “page.php” so that they match. And guess what? Now Ajax works…. ๐
Now the problem is you probably do not want to use
page.php
to display your results… but they must match… So either:1) Change the template of your page “search-and-filter” to one you would also like to use to display your results, then in S&F settings, change the template filename to match this… (like I just did with page.php)
or
2) Do not use the page “search-and-filter”, but instead always link directly to your search results page – http://novoline-merkur.com/search-results/ – then change the template here to one that you would like ๐
Please go ahead and check out – http://novoline-merkur.com/search-results/ – and use the form in the widget area – it works with Ajax ๐
Ross Moderator(Private) June 1, 2014 at 10:19 pm #1089Hey Ronald, hows it going? Did you manage to get it working ok or need some more help?
Anonymous(Private) June 2, 2014 at 7:43 pm #1131http://maneuver.nazwa.pl/WWW/nstyle/?page_id=308
Ajax does not work properly.Could you help me, please?
Ross Moderator(Private) June 2, 2014 at 7:52 pm #1132Hey Piotr I moved your post in to another thread, you should start your own threads for any problems you may have:
https://support.searchandfilter.com/forums/topic/ajax-loading-not-working-2/
-
AuthorPosts