I would like to be able to use [relativity_parent] in my PathAuto URLs. For example, I am developing a site for a home builder and have Content Types "Community" and "Homesite." A homesite can only have one parent community so I would want to create a URL from this pattern:

communities/[relativity_parent]/homesites/[title]

If this is already supported please let me know how.

If this is not too hard, point me in the direction and I might be able to add the feature.

Comments

owahab’s picture

This might be useful: http://drupal.org/node/151731

jacquesm’s picture

I've just posted a simple patch that should help you in achieving this:

http://drupal.org/node/205981

jhedstrom’s picture

Status: Active » Needs review

I'm updating the status of this since there is a patch that seems to add the only missing pathauto integration (parent-titlepath). I haven't tested the patch yet.