We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 5811
    • 1,717 Posts
    Find enclosed the version 1.8.0 Beta 1 of AjaxSearch

    Changelog:

    -- correct search in Tvs (or any other joined table) - demo here
    -- define where to do the search (&whereSearch parameter) (content,tv,jot,maxigallery,your own non Modx tables) - demo here
    -- search into your own custom tables - demo here
    -- define which fields to use for the extracts (&extract parameter)
    -- Define the number of extracts displayed in the search results
    -- Improvement of the extract algorithm - see demo here - search "primary school" with "exactphrase" option
    -- use AjaxSearch with your own non MOdx tables - demo here
    -- order the results with the &order parameter
    -- define the ranking value and sort the results with it - demo here
    -- filter the unwanted documents of the search
    -- define the extract ellipsis
    -- define the extract separator
    -- define the format of displayed dates - demo here
    -- Avoid search in content of type reference
    -- Extended place holder templating and template parameters
    -- Use of &advSearch parameter available from the front-end by the end user : demo here
    -- Choose your search term from a predefined search word list - demo here
    -- stripInput user function
    -- stripOutput user function - demo here
    -- a message is displayed to the user if his search term is too short - demo here, try "a", then "ab" and "abc"
    -- Configuration file and $__ global parameters
    -- snippet code completely refactored and objectified
    -- Bugfixes regarding Quoted searchstring

    -- the Highlighting plugin takes now into account of &advSearch parameter
    -- An advanced Highlighting plugin is provided - used on all the demos


    Some others demos will be implemented in the following days on the AjaxSearch demo site
    Thanks for your feebacks on this new version before an official delivery in the repository. Look at the ajaxSearch_version180.txt file for more information.

    [EDIT]: The version 1.8.0 is now available in the repository
      • 7231
      • 4,205 Posts
      Wow! This is a great update. There are so many new cool features I don’t know where to start having fun. The support site is great as well, very good examples. Thanks.

      Will this be the version of AS available in 0.9.6.2?
        [font=Verdana]Shane Sponagle | [wiki] Snippet Call Anatomy | MODx Developer Blog | [nettuts] Working With a Content Management Framework: MODx

        Something is happening here, but you don't know what it is.
        Do you, Mr. Jones? - [bob dylan]
        • 5811
        • 1,717 Posts
        Thanks Shane.
        Will this be the version of AS available in 0.9.6.2?
        I would like, but this need some user tests.
        I will be far away of any PC during several weeks starting the 26th of july. So It depends of feedbacks received during the two following weeks
          • 25663 MODX Staff
          • 12,272 Posts
          I’m fairly confident it’ll make 0962 and if not that one a shortly following release. wink

          And might I add, this is an incredible update ... thank you so much!
            Ryan Thrash, MODX Co-Founder
            Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
            • 34017
            • 898 Posts
            Wow this is a great update. This is now one main selling point for modx- I dont know any other CMS that has a templateable db search for any tables this easily.

            Chuck
              Chuck the Trukk
              ProWebscape.com :: Nashville-WebDesign.com
              - - - - - - - -
              What are TV's? Here's some info below.
              http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
              http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
              • 29076
              • 615 Posts
              Thanks!! laugh Finelly I can have images in the search result. Thats so great. I’ll install and start testing this afternoon.

              Here is the Norwegian translation (with the ending .txt since .php files isn’t allowed).
                I think, thererfor I am! But what I am, and why...?
                • 29076
                • 615 Posts
                Quote from: coroico at Jul 09, 2008, 06:31 PM

                I will be far away of any PC during several weeks starting the 26th of july.
                Wow. Several weeks away from computers. Have you considered how the the world will look like when you return from Out There? Man will not longer use the body, the brain only connected to supercomputers and cyberbodies, only living in virtual worlds. Things happens fast this days. wink

                Go have a good one! laugh
                  I think, thererfor I am! But what I am, and why...?
                  • 5811
                  • 1,717 Posts
                  Thanks.

                  I will improve the documentation in the coming days, but if you have any request or question regarding the understanding of AS new features do not hesitate. Some new features like how-to use AS with user custom non Modx tables are may be a bit tricky and need a better documentation than the ajaxSearch_version180.txt

                  Regarding images in the search results, as you can see on demos Results with images and With your own tables , images and text are not completely loaded when the window is built (if you do the search twice, images are loaded and you could see all the results). I suspect that I have to increase, in the js file, the delay before to display the results.
                  I will do some tests and come back with news about this point.
                    • 8883
                    • 59 Posts
                    Hi,
                    I tested the new Version, and I’m impressed. Nice features.

                    But:
                    The &minChars doesn’t work for values smaller than 4 (like &minChars=`3`).
                    And &tplLayout=`optionSearch` doesn’t work, too. No output (no code, no input, radio-buttons,..)
                    So i tried:
                    &tplLayout=`@FILE:assets/snippets/ajaxSearch180/templates/optionSearch/layout.tpl.html`
                    - it works.
                      • 22668
                      • 718 Posts
                      first look - russian characters works fine.
                      many thanks laugh