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

    I need to delete the search field at the top of the template Modx comes with. I am editing that but I don’t know how to do that.

    thanks,
    Daniel
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      Look for the [!AjaxSearch...!] snippet and remove it.

      Actually, there’s a whole block of HTML you can remove:
            <div id="search"><!--search_terms--><span id="search-txt">SEARCH</span><a name="search"></a>[!AjaxSearch? &ajaxSearch=`1` &landingPage=`8` &moreResultsPage=`8` &addJscript=`0` &showIntro=`0` &ajaxMax=`5` &extract=`1`!]</div>
      
        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
        • 6696
        • 145 Posts
        Thank you smiley