Hello,
In search_results.html I've changed:
<p>Your search returned <b><%cat_hits%></b> categories and <b><%link_hits%></b> Links.
to:
<p>Your search for <b>"<%query%>"</b> returned <b><%cat_hits%></b> categories and <b><%link_hits%></b> Links.
This works great when there are search results, but the search term is not passed if no links are found. The only place I could find "No Matching Links" is in the language.txt file in the line:
'SEARCH_NOLINKS' => 'No Matching Links.',
I've tried changing this to:
'SEARCH_NOLINKS' => 'No Matching Links for <%query%>.',
...and to:
'SEARCH_NOLINKS' => 'No Matching Links for ${'query'}.',
...and to:
'SEARCH_NOLINKS' => 'No Matching Links for \'%query\'.',
...I've also tried a host of other incorrect code. Since this is a text file, it's obvious that my syntax is wrong.
Am I even looking at the correct file to alter? Anyone know how I can accomplish this?
Thanks
In search_results.html I've changed:
<p>Your search returned <b><%cat_hits%></b> categories and <b><%link_hits%></b> Links.
to:
<p>Your search for <b>"<%query%>"</b> returned <b><%cat_hits%></b> categories and <b><%link_hits%></b> Links.
This works great when there are search results, but the search term is not passed if no links are found. The only place I could find "No Matching Links" is in the language.txt file in the line:
'SEARCH_NOLINKS' => 'No Matching Links.',
I've tried changing this to:
'SEARCH_NOLINKS' => 'No Matching Links for <%query%>.',
...and to:
'SEARCH_NOLINKS' => 'No Matching Links for ${'query'}.',
...and to:
'SEARCH_NOLINKS' => 'No Matching Links for \'%query\'.',
...I've also tried a host of other incorrect code. Since this is a text file, it's obvious that my syntax is wrong.
Am I even looking at the correct file to alter? Anyone know how I can accomplish this?
Thanks