Hi David,
I have tried to do a search and replace on category level. On certain categories i dont want to use the Main catagory but the subcategory. I have tried to use a placeholder like %SUBCATEGORY% but that doesnt work. Do you know a workaround to get the subcategory inplace for only a few main categories?
Thanks,
B.
Hi,
Placeholders aren't actually supported in the replace value of the Search and Replace filter as it stands, but it's easy to add! In includes/filter.php, look for the following code at line 49:
return trim(str_replace($filter_data["search"],$filter_data["replace"],$text));
...and REPLACE with:
return trim(str_replace($filter_data["search"],filter_recordPlaceholders($filter_data["replace"]),$text));
Hope this helps!
Cheers,
David.
--
PriceTapestry.com