We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10405
    • 288 Posts
    So this is the code in my template for the search results page


    <div id="searchresultscontent">
    [!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &tplResults=`{{resultsholder}}` &tplResult=`{{resultholder}}` !]
    </div>

    And the CSS for searchresultscontent is as follows:

    #searchresultscontent {
    background: #ffffff;
    width:631px;
    height:500px;
    margin-left:12px;
    margin-top:10px;
    }

    Plenty of room for the search results, so they shouldn’t squash onto the same line as they currently are.

    Does any code need to go into the {{resultsholder}} and {{resultholder}} chuncks or should this be autogenerated by the search?
      • 5811
      • 1,717 Posts
      [!AjaxSearch? &ajaxSearch=`0` &AS_showForm=`0` &tplResults=`resultsholder` &tplResult=`resultholder` !]
      is enought if you have defined the chunk named resultsholder and resultholder