We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 13428 ☆ A M B ☆
    • 1,031 Posts
    Quote from: Sylvaticus at Jun 17, 2007, 07:18 AM

    I have a problem: It is that the ajaxSearch_output-box won’t dissapere in MSIE 7 before search.
    Same Problem here. With Safari/Opera/Firefox everything works fine.

    Regards
    Jako
      • 6470
      • 69 Posts
      Is it possible to add option to disable mootools in ajaxSearch?

      or how to do it manually

      this library is very heavy, and is not much usefull for ajaxsearch tasks
        • 25663 MODX Staff
        • 12,272 Posts
        If you want the ability to search and return results without reloading the page then mootools is required. If you’re not interested in that you can use it wihout.
          Ryan Thrash, MODX Co-Founder
          Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
          • 6470
          • 69 Posts
          but the original ahah javascript reload
          innerhtml
          and also manipulate DOM
          without any mootools
          and about 2kb size
            • 25663 MODX Staff
            • 12,272 Posts
            I’m sure you can do that then assuming it has the appropriate tools to perform the Ajax request.
              Ryan Thrash, MODX Co-Founder
              Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
              • 13428 ☆ A M B ☆
              • 1,031 Posts
              Quote from: Sylvaticus at Jun 17, 2007, 07:18 AM

              I have a problem: It is that the ajaxSearch_output-box won’t dissapere in MSIE 7 before search. (See pictures below.)

              Rename in your css:

              #ajaxSearch_output { ...


              to

              #current-search-results { ...


              Don’t know why `style="opacity: 0"` in the snippet Code doesn’t work with InternetExplorer 7 but applying the Stylesheet to the #current-search-results-DIV inside the #ajaxSearch_output-DIV fixes this problem.

              Regards
              Jako
                • 21954
                • 3 Posts
                Just noted that there’s a parameter in the Snippet $minChars to restrict the minimum number of characters constituting a search term.

                Wondered whether perhaps this could be a parameter that could be passed to the Snippet in future versions?

                We had an issue recently where the site needed searches to work for a number of acronyms of 2 characters or more, and we had to change the value in the snippet rather than being able to set it in the Snippet call. Not a major, just thinking about having to remember to update this in the code later when/if we update to a later AjaxSearch version. Of course I’d have to remember to update it in the call if the change were to be made now so either way I’ll just have to remember!

                ;-)

                  • 20751
                  • 122 Posts
                  Sorry if this has been posted before but is there a way to include private documents in the search results of ajaxsearch without a web user having to login?

                  Thanks!
                    • 25663 MODX Staff
                    • 12,272 Posts
                    myan24, I don’t think so, but you might check the parameters in the code itself.
                      Ryan Thrash, MODX Co-Founder
                      Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
                      • 1921
                      • 32 Posts
                      Hi. I was wondering if there was a way to show Ajaxsearch results which include both the longtitle and the page title? The problem with my television based site is that I have several pages that say "Season 01" but there is no way to tell which television show the results list is displaying. Is there a way around this? Could it be possible to list both the longtitle and the page title in one item/line? Or, could it be possible to include some sort of breadcrumb to the pages showing in the results list? (try the search yourself here)

                      This discussion is closed to further replies. Keep calm and carry on.