7 votes
Accepted

How to display author name in joomla search results

You cannot do this with the default Search component without modifying the search plugin database query. This is considered a core hack, therefore not recommended. Instead I'd suggest using Smart ...
user avatar
  • 26.5k
6 votes
Accepted

How to adjust search keyword sanitization settings as language override?

Look for methods called set<PROPERTY>Callback on the same API documentation you linked. E.g. to override the lower limit use Joomla\CMS\Language\Language::setLowerLimitSearchWordCallback(). I'm ...
user avatar
  • 8,316
5 votes
Accepted

How to encode search text

Copy the file /modules/mod_search/tmpl/default.php to templates/joomla-template/html/mod_search (make sure that the file doesn't exist under the destination directory first) Add the following to the ...
user avatar
  • 3,186
1 vote

URL's in search results page are wrong and not the URL of the article assigned menu item

I found out that the problem is about the language. I have menu and articles with Spanish language. Only Home menu item is for All languages. I changed the article menu item for All languages, and it ...
user avatar
  • 171
1 vote
Accepted

How to include images in Joomla's search results?

A few pointers to offer: When checking the existence of a substring in a string, the PHP documentation advises: Note: If you only want to determine if a particular needle occurs within ...
user avatar
  • 4,403
1 vote

How change default search setting from "all words" to "any words"?

In the view.html.php file located here: components/com_search/views/search/view.html.php Navigate to line 102 where you will find COM_SEARCH_ALL_WORDS. Put that whole line below the ...
user avatar
1 vote
Accepted

search component/plugin in joomla

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 ...
user avatar
  • 890
1 vote
Accepted

Joomla Search Result Article Text Length: Text is truncated in strange places

That's a valid question in terms of questioning where the string is split and how someone could adjust the length of the article text in the search results. The solution is fairly simple at the end. ...
user avatar
  • 19.5k

Only top scored, non community-wiki answers of a minimum length are eligible