Publisher review:Advanced Search - An advanced search page for phpShop. This advanced search allows the user to refine the search by limiting the search fields and by allowing 2 words to be entered and a boolean AND or NOT to be perfomed.
Installation
1. Put search.ihtml in the modules/shop/html directory2. Copy and paste the code from adv_search.txt into browse.ihtml just before the following lineelseif ($keyword) {
3. Put purl(URL . "?page=shop/search");?>>Advanced Searchwhere you want the link to the search page.4. Add the following code to browse.ihtml prior to the prev/next navigation code:$search_string="";if ($keyword1) {$search_string.="&keyword1=$keyword1";$search_string.="&search_category=$search_category";$search_string.="&search_limiter=$search_limiter";}if ($keyword2) {$search_string.="&keyword2=$keyword2";$search_string.="&search_op=$search_op";} ?>
5. In each of the prev/next links at the bottom of browse.ihtml add .$search_string to the url, e.g.$sess->purl(URL . "?page=$modulename/browse&category_id=$category_id&offset=$prevoffset".$search_string);
Advanced Search is a PHP script for phpShop Modules scripts design by Webme.
It runs on following operating system: Windows / Linux / BSD.
Advanced Search - An advanced search page for phpShop.
Operating system:Windows / Linux / BSD