We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 24904
    • 79 Posts
    Hi
    i’m trying to customize the input search boxes but i cant find the template its using?

    When i do this [!AjaxSearch? &ajaxSearch=`0` &AS_landing=`30` &extract=’1’!]
    where goes it get the template from?
      • 28042 ☆ A M B ☆
      • 24,524 Posts
      In the first place, you’ve got that last parameter’s value in single quotes instead of backticks.

      The default templates are in assets/snippets/ajaxSearch/templates.
        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
        @Revolver

        Which version do you use ?
        with 1.7.1 see includes/templates.inc.php
        with 1.8.0 as said by susan see templates.

        Just an advice, if you would like customize the input form, forget the version 1.7.1 . The version 1.8.0 has brought important improvements regarding this point.
          • 24904
          • 79 Posts
          Quote from: sottwell at Oct 07, 2008, 02:27 AM

          In the first place, you’ve got that last parameter’s value in single quotes instead of backticks.

          The default templates are in assets/snippets/ajaxSearch/templates.

          Thanks for picking that up, ill give it a go and let yo uknow

          thanks smiley
            • 24904
            • 79 Posts
            Quote from: coroico at Oct 07, 2008, 02:41 AM

            @Revolver

            Which version do you use ?
            with 1.7.1 see includes/templates.inc.php
            with 1.8.0 as said by susan see templates.

            Just an advice, if you would like customize the input form, forget the version 1.7.1 . The version 1.8.0 has brought important improvements regarding this point.

            im using 1.7.1 (comes with the latest version of modx)
            maybe i should upgrade .
              • 5811
              • 1,717 Posts
              Not may be. Sure. The version 1.8.1 will arrive sooner so invest in version 1.8 otherwise you will drop your work quickly
                • 24904
                • 79 Posts
                ok just updated smiley
                  • 24904
                  • 79 Posts
                  I’m looking under ajaxSearch/templates

                  there are many templates, which one do I customize?
                    • 5811
                    • 1,717 Posts
                    It depends of what you want doing (simple search, option search, ...). Start by read the ajaxSearch_version_180.txt file.
                      • 24904
                      • 79 Posts
                      Quote from: coroico at Oct 07, 2008, 03:14 AM

                      It depends of what you want doing (simple search, option search, ...). Start by read the ajaxSearch_version_180.txt file.
                      understood, found the code, but can not find the style information?