We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 6561
    • 139 Posts
    I have a non-ajaxSearch call in my document templates:
    [!AjaxSearch? &whereSearch=`content` &ajaxSearch=`0` &AS_landing=`30`!]


    I also have a landing page (id 30) with the results and a template with ajaxSearch call
    [!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0`!] 


    However the template for my result page also has a search box with the ajaxSearch call in it, but as a result the search results show up double on this page. Of course I only need one ’area’ with search results.
      • 5811
      • 1,717 Posts
      &AS_showResults=`0` to avoid the display of results with the template.

      [!AjaxSearch? &whereSearch=`content` &ajaxSearch=`0` &AS_showResults=`0` &AS_landing=`30`!]
        • 6561
        • 139 Posts
        Thanks smiley

        Quote from: coroico at Mar 27, 2009, 04:56 PM

        &AS_showResults=`0` to avoid the display of results with the template.

        [!AjaxSearch? &whereSearch=`content` &ajaxSearch=`0` &AS_showResults=`0` &AS_landing=`30`!]