X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Dev Questions (https://forum.x-cart.com/forumdisplay.php?f=20)
-   -   Search queries via a URL in version 4.0.x!! (https://forum.x-cart.com/showthread.php?t=18488)

BCSE 05-22-2007 09:09 AM

Re: Search queries via a URL in version 4.0.x!!
 
Quote:

Originally Posted by xcart.com@webguydesign.co
How do I get the "search=widget" added to the page links?
Also, search results seem to be off. I have fewer results using this method, than the plain search.

TIA, Jerry



I'm not seeing any difference in the search results on our test sites. Could you provide an example?

Thanks,
Carrie

xcart.com@webguydesign.co 05-22-2007 09:35 AM

Re: Search queries via a URL in version 4.0.x!!
 
Hi Carrie

Late last night I found he solution, I added this to search.php:


Code:

if($search) {
        $smarty->assign("navigation_script","search.php?search=".$search);
}


just before
Code:

func_display("customer/home.tpl",$smarty);

Maybe my search.php file is different than others, see my sig for version.

Thnks, Jerry


All times are GMT -8. The time now is 04:13 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.