0

I'm using Pathauto and Countries to build path aliases that reflect the country and corresponding continent of a node. For example if a node's country field is set to Spain the url should be: europe/spain/node-title.

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 (see attached image) and none of it shows.

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

enter image description here

0

It apperas to be a known issue with some of the country metadata so the current solution is to use the following slightly different continent token:[node:field-prgm-country:continent]/[node:field-prgm-country]/[node:title]

Your Answer

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.