1

I am new to joomla! and would like to design a custom search plugin to search through my database. I know that when using the default search, the onContentSearch() function is triggered and "search keywords" will be sent to the above function rather than all of input string in search field. For example, if we want to search the term This is a book, then two keywords: This and book will be sent to onContentSearch(). In my customize search plugin, I want to send all of words (i.e. This, is, a, book) in term This is a book to onContentSearch(). How can I do it?

1

Override/Change the return values of the getIgnoredSearchWords() and getLowerLimitSearchWord() in /language/en-GB/en-GB.localise.php (and any other /language/<lang>/<lang>.localise.php file of active languages).

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.