Forums Forums Search & Filter Pro Using Ajax in template – how ?

Viewing 8 posts - 1 through 8 (of 8 total)
  • Anonymous
    #53512

    hello
    First thanks for this great plugin.
    I have a little issue and i hope you can help me to sort it out.

    I am using WORDPRESS + Search and filter pro + Pods

    With Pods, I created a pod called ‘standard’
    With search and filter -> I created a search form connected to ‘standard’ pods.

    I can display list of standards and search form using shortcode methods and i put the link in page called standard.

    Then when I click on one of the item display, I want to continue to see the searchbar and if I click on it, I want ajax to be activated to display the updated list of standards.

    Then what I did is :
    In Pod, I created a page called “standards/*” and link a template called standard details : so that all pages before url xxxxx/standards will called the template “standard details”.

    In the template standard details, I use

    $name= $mypod->field(‘title’);
    echo $name;

    to display different field (here title for example).

    Then I added the search form :
    <?php echo do_shortcode(‘[searchandfilter id=”2243″]’); ?>

    It can display the details + search form. But when I click on the search form, there is no update using ajax.
    How can I include ajax in template ?
    Is there a better to proceed ?

    Thanks for your help.
    Stéphane

    Trevor
    #53532

    Hi Stéphane

    Can I see a live URL of the search page that I can see it for myself?

    Anonymous
    #53663
    This reply has been marked as private.
    Anonymous
    #53692
    This reply has been marked as private.
    Trevor
    #53693

    No, I have not logged in. Our admin section seems to be down at the moment, so I cannot access any of our stuff (tools etc), so I am waiting for our tech people to fix that first.

    Anonymous
    #53711

    Hi Trevor,
    I found where the issue comes from.
    I had to unselect the option “Only use Ajax on the results page?”
    Thanks
    All the best
    Stéphane

    Trevor
    #53712

    Is this thread resolved then?

    Anonymous
    #53713

    yes. We can close it now.
    Thanks

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