Forums Forums Search & Filter Pro Posts Search Result Won't Appear

Viewing 10 posts - 1 through 10 (of 14 total)
  • Anonymous
    #42017

    So… I have a widget search form to search for posts.
    I’m using the ‘As an Archive’ method and Ajax.
    And it pulls the result from search.php
    And I want to display it on the entry/content container.

    I have set the css selector to .entry.
    This is the containter of my post.

    So the idea is when people searches, it just replaces the post content with the search result.

    Now, when I do a search, the content turns a bit grey, I guess that means I’ve selected the right css.

    But after that no result appears.

    Trevor
    #42032

    Can you show me a URL?

    Anonymous
    #42057

    http://dapur-uang.com/solusi-email-selalu-masuk-folder-spam/

    I put the widget temporarily so you can check it out.

    It’s on the top of the right sidebar.

    Trevor
    #42067

    There is no results container on the page ๐Ÿ™

    What did you set for the Enter the filename of the custom template setting on the Display Results tab?

    The method you have chosen will normally go to the theme’s generic search page, and not stay on the page that you are on. The page sample you showed is a single post page? I think that regardless of which display results method you choose, it will send the search to another page, as results must show on an archive (multi-post) page of some sort.

    Anonymous
    #42071

    O so it can’t be shown on the spot and has to be redirect to the search.php.

    Because I left the “Only use Ajax on the results page?” uncheck.
    Because I want to the result to be on the same page, replacing the post content.

    Is there a method to do that?

    Trevor
    #42077

    I would need Ross to definitively confirm this, but I do not think this is possible. It is not the way WordPress works.

    Trevor
    #42078
    This reply has been marked as private.
    Anonymous
    #42205

    Any news?

    Trevor
    #42233

    Ross has been away all weekend and it was after we closed on Friday that I sent the ping to him. Give him a chance to eat his breakfast ๐Ÿ˜‰

    I am sure he will be working his way through his forum threads as soon as he is available ๐Ÿ™‚

    Ross Moderator
    #42438

    Hey Juan

    The option “only use ajax on results page” is usually best left enabled.

    The only way it can be used is if the layout of your search results page is the same as the layout from every other page where you can find the search form.

    So, in order for the search to work directly on this page:

    http://dapur-uang.com/solusi-email-selalu-masuk-folder-spam/

    The search results page/template: http://dapur-uang.com/?sfid=31418&_sf_s=a Must have the same layout – so the same sidebars, same content areas.

    S&F ajax uses the results container to find out where to get the results from the results page: http://dapur-uang.com/?sfid=31418&_sf_s=a and then also where to place them on this page:

    http://dapur-uang.com/solusi-email-selalu-masuk-folder-spam/

    So the HTML structure / general layout of the start page must be the same as the results page.

    Otherwise you should keep this option enabled.

    Thanks

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