So I used to be able to use a token that looked like this:

[node:field_reference:nid]

I'm not sure if they are technically called "sub tokens", but that is what I was referring to them as.

The 'field_reference' field being a Reference module field. This would basically turn into the node ID of the node that is being referenced. I used them both for user and node references very successfully a few weeks ago. My primary use was for Views built with the Entity Views Attach module so that I could basically have a view automatically added to a node that pulls in data based on the reference.

Sometime in the past few weeks, I updated modules and now these tokens seem to have stopped working. I don't even know which module actually gave me this functionality (was it Reference or was it Token on it's own?).

I'm hoping someone has some guidance or suggestion for me.

Thanks!

..jon

Comments

kingandy’s picture

I'm pretty sure I remember this feature too, and it would be damn useful for my current project ... did something change in the Token API, or something?

kingandy’s picture

(specifically as pertaining to use in PathAuto...)

CSCharabaruk’s picture

I really need this too, and I know it was there before.

CSCharabaruk’s picture

This module looks like a possible workaround, although I think it may require manually patching pathauto or other token consumers: https://drupal.org/project/compound_token