Hi David
On my site I have a tagcloud based on most used keywords.
This works okay, but when the brandfilter is activated, then my url is wrong.
This is the code which generate my url on the keywords:
$url = $internal_baseHREF."q=".urlencode($query);
echo "<span class=\"$class\"><a href='".$url."'>".$query."</a></span>";
This is my url before brandfilter (working):
http://mydomain/?pt=1&q=6300
This is my url after brandfilter (NOT working):
http://mydomain/?q=category%3AMountainbike&merchantFilter=&categoryFilter=&brandFilter=GT&minPrice=&maxPrice=&pt=1&q=6300
is there a way too bypass the brandfilter when generating url's on my keywords?
thx
//Brian
Hi Brian,
In your tag cloud code, instead of:
$url = $internal_baseHREF."q=".urlencode($query);
Use:
$url = "/?pt=1&q=".urlencode($query);
It then won't be affected by anything else going on in the page...
Cheers,
David.
--
PriceTapestry.com