We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21759
    • 139 Posts
    I am using modx version evo 1.05 with the modxhost template. After customizing the css somewhat I have an issue with the search table in the header in Opera 11.61. Just above the drop down menu and below the submit button is the word Go! It doesn't seem to appear in any other browser that I view the site in. When I used dragonfly I see this line of code
    <input id="ajaxSearch_submit" type="submit" name="sub" value="Go!"/>

    however I cannot find that line in any files or in any chunks, plugins or snippets I've looked through to empty the value. Can anyone point me to the right file or place to empty that value so the text won't show up?
    The site in question is www.grstreamkeepers.com
      • 36404
      • 307 Posts
      hi,

      you should find out what you're looking for in the assets/snippets/ajaxSearch/templates directory, file should be input.tpl.html

      words are in the assets/snippets/ajaxSearch/lang directory

      have swing
        réfléchir avant d'agir
        • 21759
        • 139 Posts
        Thanks the lang file is what I missed. I found the input.tpl.html file but didn't understand what the code ("[+as.submitText+]" ) meant as it looks different than what is shown in dragonfly.
        <input id="[+as.submitId+]" type="submit" name="sub" value="[+as.submitText+]" />
          • 36404
          • 307 Posts
          hi,

          those are just placeholders that say ajax search (as.) submitText
          now, you'll probably have to play a little with css to have the input form rendered the same way everywhere, our daily nightmare smiley

          good luck smiley

          have swing
            réfléchir avant d'agir
            • 21759
            • 139 Posts
            Thanks for the info, I had made the changes in the lang file as per your previous post but I didn't understand using place holders in input.tpl.html when the actual value (Go!) would accomplish the same result with less code. One of the few things about Modx I'm still struggling to understand.