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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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 ...
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.
...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
com-search × 10search × 7
joomla-3.x × 5
plugin × 3
overrides × 2
language × 2
plugin-events × 2
php × 1
joomla-api × 1
sef × 1
seo × 1
images × 1
restful-api × 1