Forums Forums Search & Filter Pro Moved: Reply To: ajax loading not working

Viewing 10 posts - 1 through 10 (of 10 total)
  • Anonymous
    #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

    Anonymous
    #921
    This reply has been marked as private.
    Ross Moderator
    #922

    Hey 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
    Ross

    Ross Moderator
    #923

    Ah our messages crossed I’ll have a look soon ๐Ÿ™‚

    Ross Moderator
    #925
    This reply has been marked as private.
    Anonymous
    #927

    Hey 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
    #929

    Hey 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
    #1089

    Hey Ronald, hows it going? Did you manage to get it working ok or need some more help?

    Anonymous
    #1131

    http://maneuver.nazwa.pl/WWW/nstyle/?page_id=308

    Ajax does not work properly.Could you help me, please?

    Ross Moderator
    #1132

    Hey 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/

Viewing 10 posts - 1 through 10 (of 10 total)