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.
When creating new content with this module, all pathauto menu link patterns seem to fail.
I have a site with a few sections with all of them having submenus, and I've been using the following pattern for autoalias (since many of the sections have submenu pages with identical titles):
[node:menu-link:parent:title]/[node:title]
and it discards the parent title when creating new content.
Comments
Comment #1
capellicSeems to be a problem on 6, too.
Comment #2
falcon CreditAttribution: falcon commentedI will rewrite the module according to wishes from the community. When a RC version is released this and most other compatibility issues will be fixed.
Comment #3
ishanmahajan CreditAttribution: ishanmahajan commentedHi,
I'm facing the same problem with the [menupath-raw] token in Drupal 6.
I found a workaround for this but I'm not sure if it is the correct solution:
The pathauto module has weight 1 in the system table and the menuux module has weight 10. So on saving the node, when the pathauto module looks for a value in the menupath token it does not find any.
I changed the menuux module's weight to 0 and the alias is generating perfectly fine now. Not sure if this will have any adverse effect on the functioning of the site.
Regards
Comment #4
falcon CreditAttribution: falcon commentedThanks for reporting!
This has been fixed for D6. Will be fixed for D7 when we port the new D6 version to D7.