View Single Post
  #5  
Old 04-12-2005, 11:32 AM
 
mmaner mmaner is offline
 

Advanced Member
  
Join Date: Apr 2003
Location: Florence, AL
Posts: 50
 

Default

I received this response from X-Cart... I works great

1. Create 'auto_search.php' file in the '<xcart_root_dir>' folder.

2. Open this file and add following code :

Code:
--- <HTML> <BODY onLoad="document.process.submit();"> <TABLE width=100% height=100%> <TR><TD align=center valign=middle> <FORM action="search.php" method="POST" name="process"> <INPUT type="hidden" name="simple_search" value="Y"> <INPUT type="hidden" name="mode" value="search"> <INPUT type="hidden" name="posted_data[by_title]" value="Y"> <INPUT type="hidden" name="posted_data[by_shortdescr]" value="Y"> <INPUT type="hidden" name="posted_data[by_fulldescr]" value="Y"> <INPUT type="hidden" name="posted_data[substring]" size="16" value="<? echo $substr ?>"> <INPUT type="submit" name="submit1" value="JavaScript is disabled in your browser. Please press this button."> Please wait while searching...</TD> </FORM> </TR> </TABLE> </BODY> </HTML> ---

3. After that you will be able to use links like :

http://www.website.net/xcart/auto_search.php?substr=555555
__________________
***
X-Cart Gold 4.0.13 on Linux RedHat 9 i686
Reply With Quote