Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Drupal 7:Pathauto patterns from menu structure hierarchy

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 menu hierarchy.

I've tried many different variations, and nothing works. I've tried the suggestions in Menu path in Pathauto, and none of them works at all. It just ends up outputting the node-title, with nothing before it.

I've got the latest versions of the Token and Pathauto modules installed.

like image 609
Dylan Spencer James Avatar asked Oct 24 '11 11:10

Dylan Spencer James


1 Answers

I believe this question has been answered by Kenan:

Kenan's answer

[node:menu-link:parent:url:path]/[node:title]

It works for me, so I'm very happy!

like image 119
Dylan Spencer James Avatar answered Jan 20 '23 17:01

Dylan Spencer James