Drupal 7:Pathauto patterns from menu structure hierarchy

前端 未结 5 668
囚心锁ツ
囚心锁ツ 2021-02-10 03:15

I\'m trying to create a Pathauto pattern which looks like \"Drupal root/parent_menu_item_name/node_title\" where \"node_title\" is a child of \"parent_menu_item_name\" in the me

5条回答
  •  萌比男神i
    2021-02-10 03:36

    This combination works perfectly for me

    [node:menu-link:parents:join-path]/[node:menu-link:title]
    

    with the latest token (7.x-1.5) and pathauto (7.x-1.2).

提交回复
热议问题