We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 32645
    • 377 Posts
    How do I make a "site search", ie: the ability to allow people who visit the website to search published documents throughout the whole website and listing them in a ditto-like structure and pagination?

    I have a form, but does it use GET or POST? Where does it POST to?

    If there is a snippet that handles this, that’d be great?

    Thanks.
      • 7804
      • 80 Posts
      ajaxSearch will do this; it comes as one of the included snippets with the default MODx install. it provides both an ajax and non-ajax (what you’re looking for) search result.

      http://modxcms.com/AjaxSearch-490.html
        • 32645
        • 377 Posts
        Many thanks!