As of Drupal 6 you can select a language for each created path alias. This selection is not available when creating path aliases with rules. It would be nice to have this feature as well.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | path_locale_lowercase.patch | 2.06 KB | mitchell |
| #1 | path.rules_.zip | 2.31 KB | DrakeRemory |
Comments
Comment #1
DrakeRemory commentedOk, I implemented this function and I added a checkbox to make the created alias lowercase. Files are attached.
Comment #2
mitchell commented@DrakeRemory: could you please create a patch?
Comment #3
mitchell commentedPatch from #1.
Comment #4
fagoUse language_list() or another API function instead of directly querying the db. Also transforming to lowercase would need the same option for the path conditions, but let's better handle that in another issue.
Comment #5
fagoComment #6
fagoI've just done some work on the path module integration and fix the language issue as well as others:
improved the path module integration:
* #440416 added a language option to the conditions + the path alias action
* fixed the "Set content path alias" action to also work when the acting user has not the permission to set paths
* added a check to the actions to verify that the destination path alias doesn't exist yet
Comment #8
Wappie08 commentedHi fago, is this patch allready committed? Sound like a musthave for some specific solutions, thanks DrakeRemory for the patch!
Greetings Wappie