![]() |
Re: Search queries via a URL in version 4.0.x!!
I use 4.1.2, why it doesn't work?
It still shows http://www.domainname.com/shop/search.php?mode=search&page=1 |
Re: Search queries via a URL in version 4.0.x!!
Connie -
The link still shows in the browser the same in a straight search, that doesn't change. It's the URL you use in a link that dictates a search. Take a look at the #1 post here, Carrie gives link examples at the bottom of that post. |
Re: Search queries via a URL in version 4.0.x!!
Thanks for your reply.
The problem is if the search result is more than one page, then the 2nd page link shows http://shop.com/search.php?mode=search&page=2 I have the problem when first search "monkey" , the page 1 is correct, the page 2 is correct. Then I search for "rabbit", the page 1 is correct, the page 2 shows monkey's items because the page 2 link is the same http://shop.com/search.php?mode=search&page=2 xcart gives the old searched page |
Re: Search queries via a URL in version 4.0.x!!
I think just post the search result link, then the page 2 can't get search string from METHOD="POST" , how to fix this problem?
Thanks! |
Re: Search queries via a URL in version 4.0.x!!
anybody knows "Search queries via a URL" can also use in search result page 2, page 3 in cart version 4.1.x?
|
Re: Search queries via a URL in version 4.0.x!!
I am having the same problem with 4.1.3 as well. When I use link:
www.domain.com/search.php?search=widget and it brings back more than 1 page of results & I then use the same link again but change widget to another item that you know will bring back more than 1 page of results, it skips the first page of results on the second search. |
Re: Search queries via a URL in version 4.0.x!!
Did anyone figure out how to fix the multiple page issues for the search strings?
Matt |
Re: Search queries via a URL in version 4.0.x!!
For paginated results
www.domain.com/search.php?search=widget&page=2 www.domain.com/search.php?search=widget&page=3 To display search substring in the page title : in skin1/customer/home.tpl add something like this: {elseif $mode eq "search"} {$smarty.get.search} |
Re: Search queries via a URL in version 4.0.x!!
Quote:
Anyone still having troubles with this for 4.1.x and multiple pages? It just worked for me on a 4.1.3 site using only the code I posted in the original thread. Let me know! Thanks, Carrie |
Re: Search queries via a URL in version 4.0.x!!
Quote:
Also, search results seem to be off. I have fewer results using this method, than the plain search. TIA, Jerry |
All times are GMT -8. The time now is 06:42 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.