We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 10405
    • 288 Posts
    No, no other plugins installed or in use. The only snippet / plugin I’m making use of is the AjaxSearch...
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      The content of these pages is coming from the content field when editing the documents?
        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
        • 5811
        • 1,717 Posts
        The {{resultholder}} and {{resultholders}} chunks are just empty chunks to hold the results (suggested in another thread)
        I don’t understand this suggestion. Could you give me the thread?
        The content of the result template should be like this:
        <div class="[+as.resultClass+]">
          <a class="[+as.resultLinkClass+]" href="[+as.resultLink+]" title="[+as.longtitle+]">[+as.pagetitle+]</a>
        [+as.descriptionShow:is=`1`:then=`
          <span class="[+as.descriptionClass+]">[+as.description+]</span>
        `+]
        [+as.extractShow:is=`1`:then=`
          <div class="[+as.extractClass+]"><p>[+as.extract+]</p></div>
        `+]
        [+as.breadcrumbsShow:is=`1`:then=`
          <span class="[+as.breadcrumbsClass+]">[+as.breadcrumbs+]</span>
        `+]
        </div>

        Without [+as.extract+] in the chunk, AjaxSearch can’t display the extract found in the content of the document.