Support the team building MODX with a monthly donation.
The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.
$407 per month—let's make that $500!Learn more
What is SimpleSearch?¶
SimpleSearch is a simple search component for MODX Revolution. It supports searching Resource content and TV content.
- MODX Revolution 2.0.0-RC-2 or later
- PHP5 or later
SimpleSearch was written by Shaun McCormick as a simple search component, and first released on June 2nd, 2010. It is loosely based on AjaxSearch for MODX Evolution by KyleJ/coroico, without the Ajax functionality.
First of all: ALWAYS MAKE A BACKUP BEFORE UPDATING!
Upgrading to 2.0.0 from 1.* is highly recommended, but it does introduce some risks.
Important changes from 1.* to 2.0.0:
- The namespace has been changed from sisea to simplesearch. If you're using custom System Settings, then please migrate them.
- The ElasticSearch and SOLR drivers have been removed, because they were in need of improvements. Future drivers should be seperate addons. Feel free to ask us for help here.
Development and Bug Reporting¶
SimpleSearch is stored and developed in GitHub, and can be found here:https://github.com/Sterc/SimpleSearch
Bugs can be filed here: https://github.com/Sterc/SimpleSearch/issues
SimpleSearch has 2 snippets - one to display a form ("SimpleSearchForm"), and the other to display search results ("SimpleSearch").
Display a search form, and below it, the results:
[[!SimpleSearchForm]] <h2>Results</h2> [[!SimpleSearch]]
Display a Search form that sends you to a results page in Resource 123 (which has the SimpleSearch call in it):