Sure - in html/searchfilters.php, you can simply create a link to the current query without any filter parameters as a "Reset" link - have a go with the following code:
<?php if ($priceWhere) { print "<p><a href='".$config_baseHREF."search.php?q=".urlencode($q)."'>Remove Filters</a</p>"; } ?>
Using the IF construct with $priceWhere means the link will only be displayed if filters are in effect.
Hello Jan,
Sure - in html/searchfilters.php, you can simply create a link to the current query without any filter parameters as a "Reset" link - have a go with the following code:
<?php
if ($priceWhere)
{
print "<p><a href='".$config_baseHREF."search.php?q=".urlencode($q)."'>Remove Filters</a</p>";
}
?>
Using the IF construct with $priceWhere means the link will only be displayed if filters are in effect.
Cheers,
David.
--
PriceTapestry.com