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

    I went through the source code looking for the AjaxSearch CSS, but didn’t find any. I am then guessing that whatever formatting I don’t like is my fault (the CSS I have setup, probably for other stuff)?

    But I can’t find where this text is loading in from: "Please enter a search term to begin your search."

    It isn’t in the default template file (templates/layout.tpl.html), right?

    The page I am working on is here:
    http://www.elstonmfg.com/index.php?id=70

    I still have to place the search function where I want it (below the main menu), but it works fine. I’m just trying to figure out the best way to resolve where the CSS should be (I’m guessing anywhere I want it?) and where to get rid of that text string.

    Thanks!
    -Doug
      Doug Peters, Symbiotic Design. (605) 251-8973
      http://W3DN.com | http://www.DomainHostmaster.com
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      It’s in the language file in assets/snippets/ajaxSearch/lang/<your-language-file> :
      $_lang['as_introMessage'] = 'Please enter a search term to begin your search.';
      
        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
        • 29091
        • 88 Posts
        Oooh... Cool.

        Can I suppress this with a command line argument, maybe? Because I am using the form in the sidebar under the menu and loading it into a new page.

        http://www.elstonmfg.com/index.php?id=70

        So, I actually would like the search form and intro text on the resulting page, just not on the first one. Hmmm... my resulting page isn’t even displaying a search function. Maybe it doesn’t matter?

        Thanks for the help!
        -Doug

          Doug Peters, Symbiotic Design. (605) 251-8973
          http://W3DN.com | http://www.DomainHostmaster.com