Tokens for additional data appear but don't have any data.
For example, I'm using a pathalias pattern to display continent. My pattern is: [node:field-prgm-country:continent-name]/[node:field-prgm-country]/[node:title] The country renders correctly but the continent shows nothing. I've tried any other additional data (from list of availible tokens) and its all render blank.

How do access this additional country data for use in my path aliases?

CommentFileSizeAuthor
tokens.jpeg210.88 KBtrouble.tribbles
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

trouble.tribbles created an issue. See original summary.

Alan D.’s picture

Not sure why hook_entity_property_info_alter() is defined,,, it is just the same as [ENTITY:COUNTRYFIELD:continent]

> I've tried any other additional data (from list of availible tokens) and its all render blank.

Ignoring that, the others appear to work for me.

[current-user:field-nationality]
[current-user:field-nationality:continent]
[current-user:field-nationality:continent-code]

I'd assume you want

[node:field-prgm-country:continent]/[node:field-prgm-country]/[node:title]