View Single Post
  #60  
Old 10-18-2007, 10:23 PM
  wjbrewer's Avatar 
wjbrewer wjbrewer is offline
Banned
 

X-Adept
  
Join Date: Feb 2005
Location: Pittsburgh, PA
Posts: 504
 

Default Re: Smart Search from alteredCart :: Spell Checking, Did You Mean? and More.

Quote:
Originally Posted by DogByteMan
I am having a small problem with this product...

I use the HTML Catalog (Yes I do use it). When I place a search term in the search box, while on an html catalog page, it simply takes me to home.php. From home.php, or any php page, it works fine. I love the search, but I need a solution for this problem for sure as it is annoying to me and I am sure it annoys my customers.

This shouldn't be a problem when creating the HTML catalog in your store root. However, if you use a subdirectory the HTML pages will not point to the correct location. To fix this you need to edit the skin1/modules/Smart_Search/smart_search_customer.tpl file.

Change this line:

Code:
<form method="get" action="_search.php" name="_search">

To point to the full path to the _search.php file. Example:

Code:
<form method="get" action="http://www.yoursite.com/xcartdir/_search.php" name="_search">

Just remember you will need to edit this if you ever move your store files to a different directory.
Reply With Quote