We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 11190
    • 109 Posts
    Hello, all, and thanks to the authors for a great snippet.

    I have put the AjaxSearch snippet in my left margin. The results display in the margin just fine. However, I would like the results to stay in the margin as the user clicks on the various site links. The template is the same for all pages - search and blog in the left margin, content in the center. When a user clicks on a search result, the new page opens with content in the center but the AjaxSearch snippet is reset. I tried both cached and uncached versions. I also tried using two calls - one for the form and one for results. Here is what I have right now:

    <div id="leftmargin" class="left">
    [[AjaxSearch? &ajaxSearch=0 &AS_showForm=`1` &AS_showResults=`0` ]]
    [[AjaxSearch? &ajaxSearch=0 &AS_showForm=`0` &AS_showResults=`1` ]]<hr></hr>

    I tried using &AS_landing=`[*id*]`. I didn’t expect it to work and it didn’t sad
    Is there any way to do what I’m trying to do? Thanks - John
      http://www.spiritualoutreach.com
      Making Christianity intelligible to secular society