After reading a bunch of support issues and possible solutions I cooked up a fix for the 'all ancestors' problem that many people seem to have when using pathauto in combination with the node relativity module.

This patch is relative to the 5.x-2.x-dev branch of the code,

It's only a couple of lines, the basic idea is to add one more replacement value to the list of options that autopath gives, I've named it 'parent-titlepath'.

I've got only very limited experience with drupal, so please review this code thoroughly before using it.

best regards, and I hope it is useful to someone.

Jacques Mattheij

CommentFileSizeAuthor
node_relativity.patch2.12 KBjacquesm

Comments

jhedstrom’s picture

I tried to use this patch, and on submit, the module seems to get stuck in an infinite loop.