You are here:  » Mapping Category with accents

Support Forum



Mapping Category with accents

Submitted by marco.saiu on Fri, 2011-07-15 16:25 in

Hello i need create mapping category with char accents

For example Caffè...

In the product mapping page if i try it i have an error!

How to create category with accents chars?

Thank's

Submitted by support on Fri, 2011-07-15 16:46

Hi Marco,

To permit accented vowels in mapped categories, look for the following code at line 20 of admin/categories.php

      if(!ereg("^[0-9a-zA-Z\. ]{0,255}$",widget_posted($_POST["name"])))

...and REPLACE with:

      if(FALSE)

That will permit ANY characters in the mapped category names; but after making this change, check that the category search URLs are working as expected, if any resulting problems let me know and I'll take a look...

Cheers,
David.
--
PriceTapestry.com