Hello David,
In version 13/03A, how little I replace apostrophes ['] and slashes [/] in the name of the product?
For example a title: D'enfer -> url: Denfer.html
I'd rather replace them with a dash [-] rather than delete it.
Thank you in advance.
Cheers,
Raoul
In includes/tapestry.php ?
I can not find it in the admin.php file
Cheers,
Raoul
Hi Raoul,
Ah sorry yes - includes/tapestry.php - corrected above...
Cheers,
David.
--
PriceTapestry.com
Hello Raoul,
Characters that are stripped for the URL version of product names are removed by this code at line 27 of includes/tapestry.php:
$text = preg_replace('/[^A-Za-z0-9'.$allow.' ]/e','',$text);
...so for treatment as a space instead (which will be replaced with "-" in the URL), REPLACE the above line with:
$text = preg_replace('/[^A-Za-z0-9'.$allow.' ]/e',' ',$text);
Cheers,
David.
--
PriceTapestry.com