Drupal's core Profile module doesn't use machine names for groups and they allow any text for the Profile Category names.
Disappointed by how profile_migrate converted core Profile categories to machine names I decided to add more robust auto-machine-naming functionality in the case that the Category had non-standard ASCII characters. This addition adds support for Unicode transliteration via the transliterate module.
Patch in the first comment.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | profile_migrate-better-category-machinenaming-874182-1.patch | 3.26 KB | jwilson3 |
Comments
Comment #1
jwilson3Note that categories can be converted to either for fieldgroups or new node-types, depending on which setting you choose. This should work for both cases, creating cleaner machine names for cck node types and fieldgroups.
Comment #2
jessehsThanks! You saved me a lot of time. Your code worked like a charm, although the 4th hunk failed and I had to apply it by hand..