View Single Post
  #2  
Old 06-07-2008, 12:48 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: search result titles wrong

Quote:
Originally Posted by radtoyscentral
I recently installed the new 4.1.10 and have a couple of problems. When you go into the store and go to http://www.radtoysmotorsports.com/search.php?mode=search&page=1 , why does it show

{{ITEMS}} RESULTS FOUND
DISPLAYING: {{FIRST_ITEM}} - {{LAST_ITEM}} RESULTS
incorrectly instead of i.e.....
9 RESULTS FOUND
DISPLAYING: 1 - 20 RESULTS


I haven't changed this particular template that I am aware of, and have also tried importing a few other versions of the template all with the same result.

Anybody have any ideas?

Open files "skin1/customer/main/search_result.tpl", find and check next lines:

PHP Code:
..............
<!-- 
SEARCH RESULTS SUMMARY -->

<
a name="results"></a>

{if 
$mode eq "search"}
{if 
$total_items gt "1"}
{
$lng.txt_N_results_found|substitute:"items":$total_items}<br />
{
$lng.txt_displaying_X_Y_results|substitute:"first_item":$first_item:"last_item":$last_item}
{elseif 
$total_items eq "0"}
{
$lng.txt_N_results_found|substitute:"items":0}
{/if}
{/if}

{if 
$mode eq "search" and $products ne ""}

<!-- 
SEARCH RESULTS START -->
............. 

Error must be in this piece of code.
Reply With Quote