We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 20911
    • 84 Posts
    Hey, i need some help with my ajax search, first how do i query search terms ? they wont show ..

      Mysql 5.1.52
      Apache 2.2.17
      PHP 5.2.12
      Linux
      • 20911
      • 84 Posts
      Would really need HELP PLEASE.. I Need this awesome search script!

      i dont know how to install this 100 %, i am at around 73 % of Completion, i have made snippet call, but is there some file i must create which isnt there from beginning?
        Mysql 5.1.52
        Apache 2.2.17
        PHP 5.2.12
        Linux
        • 5811
        • 1,717 Posts
        Your page with ajaxSearch is a copy/paste of a ajaxSearch demo page.
        I found the following css call in your page:
                <script type="text/javascript" src="/assets/snippets/searchWords/js/searchWords.js"></script>
                <script type="text/javascript" src="/assets/snippets/ajaxSearch/js/ajaxSearchCmt.js"></script>
        	<script type="text/javascript" src="/assets/snippets/ajaxSearch/js/mootools1.2/mootools.js"></script>
                <script type="text/javascript" src="/assets/snippets/ajaxSearch/js/ajaxSearch-mootools1.2.js"></script>
        Why do you use assets/snippets/searchWords/js/searchWords.js ?? This js script comes from the demo site and is used to manage the display of some words. It’s not a part of ajaxSearch!

        Have you read the wiki documentation available on this page: http://wiki.modxcms.com/index.php/AjaxSearch

        What is your ajaxSearch snippet call ?

        On your site I see: [!AjaxSearch? &ajaxMax=`4` &showMoreResults=`1` &moreResultsPage=`217` &AS_landing=`274`!]
        If this snippet call is not parsed it is probably because you have some weird characters in your snippet call (check the blank characters).
          • 20911
          • 84 Posts
          it wont work with any snippet call, please tell all codes i need for the search
            Mysql 5.1.52
            Apache 2.2.17
            PHP 5.2.12
            Linux
            • 5811
            • 1,717 Posts
            Tell us which snippet call you use. Otherwise anybody can help you!

            The simplet AjaxSearch call is:
            [!AjaxSearch!]
            Copy/past this snippet call in a MODx document and then, step by step add the parameters you need. These parameters are describe at http://wiki.modxcms.com/index.php/AjaxSearch
              • 20911
              • 84 Posts
              well lets say i wanna use this one: [!AjaxSearch? &jscript=`jquery`!]
                Mysql 5.1.52
                Apache 2.2.17
                PHP 5.2.12
                Linux
                • 8609
                • 607 Posts
                Don’t know if this has anything to do with your troubles, but just looking at your page source, you have an error in your <head> section:

                <base href="http:www.hbz-gaming.com/" />



                As you can see http:www.hbz-gaming.com/ is not a well formed url. Correct this and see if it makes a difference.

                Second, is your site actually running on MODx? Do you have MODx installed at all or is this a custom CMS?
                  • 20911
                  • 84 Posts
                  no its my own cms
                    Mysql 5.1.52
                    Apache 2.2.17
                    PHP 5.2.12
                    Linux
                    • 28042 ☆ A M B ☆
                    • 24,524 Posts
                    AjaxSearch is a MODx add-on. It won’t work outside of MODx.
                      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
                      • 20911
                      • 84 Posts
                      u really sure about that? as i see here this is the same one :-/ http://www.battlefieldnations.com/
                        Mysql 5.1.52
                        Apache 2.2.17
                        PHP 5.2.12
                        Linux