We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 3647
    • 177 Posts
    Hi

    I have created a new table with some data using dbEdit
    Now I want to do a search on the data using Ajaxsearch.

    It looks as if this is possible, but I just can't get to any examples or tutorials as all the Ajaxseach documentation and old postings point to
    www.modx.wangba.fr
    which isn't there any more.

    Does anyone have any knowledge or examples of how to create a suitable config file for Ajaxsearch that will get all fields from the custom table (which doesn't have the normal modx table prefix because dbedit won't allow that) and use this as the basis of the search?

    There was a reference to creating a custom function, but I couldn't see any documentation on that or examples to follow.

    Thanks for any suggestions
      • 4310
      • 2,310 Posts
      Here are two demo config files I had laying around.
        • 3647
        • 177 Posts
        Thanks for that!

        I did see that example in the forum but it looked more complicated that I needed and I couldn't work out everything that was happening with joins and filters etc

        what I need initially is just to link to one table and search all the fields

        have you ever tried this yourself?

          • 4310
          • 2,310 Posts
          have you ever tried this yourself?
          No, afraid not.