5102 Posts in 1520 Topics by 1116 members
|
Page:
1
|
Go to End | |
| Author | Topic: | 994 Views |
-
Modifying URL alias code in an update-safe way

29 April 2010 at 3:10am
Hello,
I noticed that for the URL alias, Silverstripe doesn't take into account German umlauts like "ä", "ö" or "ü" as well as "ß". I know where the respective function suggestNewValue() is (UniqueFields.js -> silverstripe\sapphire\javascript), but I'm lost as how to extend it update-safe.
Adding in fromString = fromString.replace(/ä/gi, "ae"); and so on would work, but tweaking the core files feel soo wrong.
Any pointers on how to write an extension for that purpose would be appreciated!
| 994 Views | ||
|
Page:
1
|
Go to Top |

