Hi David ,
Sorry, but I've tried looking and can't find anything that works. One of my feeds has quite a few products what for some reason have a \ at the end of each product. These are expensive products and I want them to be on my featured products, but when adding them they don't show, because as soon as I press save it adds another \ at the end in the featured products list.
I've tried doing a global filter to replace the \ at the end of products names with nothing but that hasn't worked as it still shows. How can I solve this so that I can feature these products on my home page please?
Also, I've tried doing some category mapping, as I have quite a few categories that are the same, just with a different number at the end. So I created a new category in Category mapping and added those items, but they are still showing separately in my categories listing with with no sign of the grouped category name in sight. It's not a big deal, but would be nice to group these as my categories list is huge.
Thanks
Ben
Hi Ben,
This is to do with "magic quotes", a PHP feature that can be enabled in php.ini that automatically "escapes" (prefixes with a "\") certain characters (such as "\" itself) that have been submitted from an HTML form to make them safe for use in a database query. Because the script needs to know whether magic quotes is enabled, it has to check the value of the setting using the get_magic_quotes_runtime() function, but in certain PHP configurations the return value from that function appears to be in the opposite sense from the value configured.
To fix this, look for the following code at line 113 in includes/widget.php:
if (get_magic_quotes_runtime())
...and REPLACE that with:
if (!get_magic_quotes_runtime())
Hope this helps!
Cheers,
David.
--
PriceTapestry.com