Hello,
I find a lot of answers but no one is a good solution for me.
I'd like to remove:
merchant:
Category:
Brand:
in the:
searchfield
title
Thank you
Thank you works great.
Only i have a : after the brand names. How can i remove this one?
Thanks, Jan roel
Hello Jan,
I've modified the two replacements above to include removal of the ending ":" from the values also...
Cheers,
David.
--
PriceTapestry.com
Hello wesse,
The simplest way is as follows - in search.php look for the following code at line 399 (13/03A):
$header["title"] = $q;
...and REPLACE with:
$header["title"] = str_replace(array("merchant:","category:","brand:",":"),"",$q);
And for the search box, in html/searchform.php, look for where the default value for the text input is created by this code:
value='<?php print (isset($q)?$q:""); ?>'
...and REPLACE with:
value='<?php print (isset($q)?str_replace(array("merchant:","category:","brand:",":"),"",$q):""); ?>'
Hope this helps!
Cheers,
David.
--
PriceTapestry.com