Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello!
I think the module should allow custom alias to be created for each languages when "Generate automatic URL alias" is unchecked.
Currently, the option "Generate automatic URL alias" is automatically checked when "Generate automatic URL alias for all languages" is set which makes the custom alias to get lost on node save.
I have created a patch which let you generate alias for all the languages based in the custom alias when "Generate automatic URL alias" is not set.
This is my first contribution to a contrib module so any feedback is welcome :)
Cheers,
Juan
Comment | File | Size | Author |
---|---|---|---|
#5 | support-custom-aliases-creation-for-each-language_2924367_5.patch | 4.08 KB | Steven Jones |
#2 | support-custom-aliases-creation-for-each-language_2924367_1.patch | 3.45 KB | Ok4p1 |
Comments
Comment #2
Ok4p1 CreditAttribution: Ok4p1 commentedHere is the patch
Comment #3
Ok4p1 CreditAttribution: Ok4p1 as a volunteer commentedComment #4
Ok4p1 CreditAttribution: Ok4p1 as a volunteer commentedComment #5
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedThanks for the patch. I've encountered this patch on a site I'm working on, I can't really speak for the validity of the patch as a whole, but I can spot a little bug and help resolve that. Now the UI will show up correctly :)