Forums Forums Search Search Results for 'results'

Viewing 8 results - 12,381 through 12,388 (of 12,388 total)
  • Author
    Search Results
  • #793

    Anonymous
    Inactive

    Yes, exactly. Right now, when I go to my search page, it has all the results by default.

    #790

    In reply to: Ajax auto submit


    Ross
    Keymaster

    Hey Tim

    What happens exactly, you change the dropdown, the results update via ajax, then you change the dropdown again and nothing happens?

    Can you verify everything is working ok without auto submit? ie, disable autosubmit, but enable AJAX… then check, does the AJAX work fine using a submit button?

    If you have a link that would be really handy! (you can mark replies as private if you need).

    Thanks
    Ross

    #775

    Anonymous
    Inactive

    Hi again,

    How can I make it so that my search page doesn’t show all the results to begin with?

    -Amin

    #772

    Ross
    Keymaster

    Hey Amin

    Sorry I should explain a little better (I am actually working on setting up an example so I can do a video tutorial of how to set this all up properly, but that won’t be ready until later tonight or tomorrow).

    From what I can see, your search results page does not have the Search Form on it, so there is no way to see if Ajax is working. When I go to –

    http://dev.venuejar.com/test-3/

    I should see your search results (unfiltered), and the search form, but no search form is present…

    You have the search form at the top (the top bar with locations & categories), but this is not a Search & Filter search form, so it is not integrated with Ajax or hte plugin in any way.

    You should update your template search.php so that it does contain your sidebar, then you will see that the search form will work with Ajax…

    Does that make sense? If you want send me your login details and I’ll have a quick look around! (mark your messages as private of course)

    Thanks
    Ross

    #768

    Ross
    Keymaster

    Hey Amin

    I just had a look… it looks like the page you have got your search form on is different to your results page?

    They need to match.

    This is the page your AJAX is calling for results:
    http://dev.venuejar.com/?_sft_ait-dir-item-category=community-league&sfid=z7&sf_ajax_timestamp=1400609701205

    Which looks correct, but it is a completely different layout to the one you have your search form on (the link you provided).

    The best thing to do would be to enter a slug for your results (ie “test-2”) like you have so then you could access your search results page or change the page template (where it says “search.php” to match the template being used on this page – http://dev.venuejar.com/test-2/ (it is not search.php)..

    Does that make sense?

    #767

    Anonymous
    Inactive

    I have a search form in my sidebar, and I have set the results to be displayed in the #content area. But when I click the Submit button, the #content area goes grey, then comes back, but no search results.

    Site URL: http://bit.ly/1klHXPJ
    Screenshot of settings: http://bit.ly/1k2zi4V

    Can you help?

    #764

    Ross
    Keymaster

    Hey Ellen 🙂

    This just sounds like you need to make a small modification to your template file.

    First, open up the template file in your theme directory that is being used for the search results (by default this is search.php)…

    Then you need to add in a line of code to add the date (see docs for more customisation):

    <p>Date posted: <?php the_date(); ?></p>
    

    Make sure you place this somewhere inside the loop (after the while (have_posts()) and before the closing endwhilesee the docs for more info

    Let me know how you get on!

    #763

    Anonymous
    Inactive

    I installed your Search & Filter today – it’s working great… thanks! 🙂

    I just have a query that perhaps you can help with. When I do a search and a list of posts is shown, there isn’t a post date on them. Do you know how I would get that added please? I have set the ‘custom template’ to search.php because without this, I sometimes got a blank page if no results were found.

    Many thanks!

Viewing 8 results - 12,381 through 12,388 (of 12,388 total)