View Single Post
  #2  
Old 06-19-2008, 06:24 AM
  Yurij's Avatar 
Yurij Yurij is offline
Banned
 

X-Adept
  
Join Date: Jan 2008
Posts: 486
 

Default Re: Search Form and Search Results on same page

Quote:
Originally Posted by toltion
I've managed to show the Advanced Search form to the left of the search results except for the Manufacturers list box. I assumed that if was all on the same page everything would show, but I'm wrong. Apparently, $manufacturers is empty when products are listed on the page. Everything shows up when I go directly to "search.php" but not when the URL has "search.php?mode=search".

Is there a workaround for this? I'd really like to give the customer the opportunity to "search again" without having to go back to the main search page.

Thanks,

Tony

Open file "skin1/customer/main/search_result.tpl", find next line

PHP Code:
{if $mode ne "search" or $products eq ""

and replace them with the following lines:

PHP Code:
{if 1 eq 1}
{*
{if 
$mode ne "search" or $products eq ""}
*} 
Reply With Quote