To set the path with pathauto for current node, it would be nice to have a token to the parents path.

Comments

osopolar’s picture

StatusFileSize
new1.97 KB

The patch adds the token [node-trail-parents-path-raw] and [node-trail-parents-path]

So you can use it for example in this way:
[node-trail-parents-path-raw]/[title-raw]

osopolar’s picture

Status: Active » Needs review
StatusFileSize
new2.9 KB

I also added the tokens [node-trail-menu-link-title] and [node-trail-menu-link-title], to set the menu link title if exists or if it's not a menu item (just a node trail) use the current node title.

osopolar’s picture

StatusFileSize
new2.89 KB

debug message removed