Hi, all. I have url rewrite enabled on my script. I have implemented an ajax search feature but am unsure how to format the hyperlinks in the search results.
products.php?id=123 doesn't work. Can anyone tell me how to format the results so that it ties in with the rest of it?
TIA, Mark
Thanks, David. I did work out a way to make it function using the product name and an untidy this.name.replace(' ', '-')
but I'll rewrite it after work to follow your suggestion.
Thanks again
Hi Mark,
In your selection SQL make sure to include the normalised_name field, and then use:
tapestry_productHREF($product)
...to get the product page URL, where $product is an array containing the product record.
Cheers,
David.
--
PriceTapestry.com