Zero hits search page
ReviewStud 135
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: Zero hits search page
ReviewStud
OP
135
From: -
From: -
That fixed it.
Thank you very much.
Thank you very much.
1 Re: Zero hits search page
Philipp Esselbach
From: -
Editor
0From: -
Thanks. Yes, it is a bug.
As a workaround you could do the following modification. Open modules/news/newsresults.php in an editor and replace:
with:
As a workaround you could do the following modification. Open modules/news/newsresults.php in an editor and replace:
$notice = $templates -> exectemplate( $main_templates[ 'news_search_error_login_html' ], $main_templates[ 'news_search_error_login_php' ], $insert );
with:
$notice = "No matches were found. Please try different search terms.";
When I do an article search on my site, occasionally I hit a keyword that won't find any articles, but instead of it showing me a "zero articles page", it displays a page with no notice "zero articles found".
Here is a link to a search with no hits. Click here.
Shouldn't CT be displaying a message that the keyword you used doesn't match any articles?
Thanks,