We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 15627
    • 13 Posts
    Hello,

    I have just started trying MODx Evolution using the Swansong tutorial. When I got to incorporating ajaxSearch (Part 10), The following extra text showed up below the input field.

    "Please enter a search term to begin your search."

    This is not necessary, you know.

    I tried to get rid of, but I could not find this text in the MODx pacakge. Could someone help me get rid of it?

    Could you also tell me where I can find the documentation of ajaxSearch snippet?

    Thanks in advance for your help.
    Kenji
      • 38162
      • 97 Posts
      Navigate to:
      assets/snippets/ajaxSearch/lang

      Find your language file and edit it to your needs.

      You can alternatively also check the name of the class or ID and make it invisible using CSS (provided you don’t need it at all) or read post below.

      Documentation can be found on the AjaxSearch website or in:
      assets/snippets/ajaxSearch/documentation


      There is also an AjaxSearch forum section on this board.

      Hope that helps.


        • 5811
        • 1,717 Posts
        @kenji

        from the ajaxSearch_readme.txt file :
        ---- &showIntro [ 0 | 1 ] - introduction message under the input form (optional)
        
            To show or hide the introduction message displayed with the input form
            Default: 1 (show)

        You could also look at this demo page
          • 38162
          • 97 Posts
          And I certainly forgot to mention the easiest way. Thanks croc grin
            • 15627
            • 13 Posts
            Thanks a lot N!Ce & coroico.

            It’s so easy to solve problems if one knows where the answer is, isn’t it?
            Please forgive me in advance if I may ask you guys more stupid questions.

            Kind Regards,
            Kenji