We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 29525
    • 388 Posts
    Hi all

    I’m using the following snippet calls:

    In the sidebar I’ve got a call for the Search Input Field
    [!AjaxSearch? &ajaxSearch=`0`&minChars=`3` &AS_landing=`65`!]


    On the results plage I’ve this call in the main content area
    [!AjaxSearch? ajaxSearch=`0` &AS_showForm=`0`!]


    I put the Search field call in the sidebar on my template so it appears on each page. However, when the results page are displayed the results appear in both the sidebar and in the main content area.

    So then I created a template just for the results page that doesn’t include the original search input field call in the side bar. I put the results call in the content area. Then I get no results at all.

    How do I put the input field in the masthead on all pages and have the results appear in the main content area of the results page?

    Thank you!
      www.terrybarthdesign.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      &AS_showResults=`0` (or something like that...)
        Studying MODX in the desert - http://sottwell.com
        Tips and Tricks from the MODX Forums and Slack Channels - http://modxcookbook.com
        Join the Slack Community - http://modx.org
        • 29525
        • 388 Posts
        Susan

        Thank you! I had that in there at one point, but lost it somewhere along the way.

        I’m good to go.

        Thank you!
          www.terrybarthdesign.com