Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
A while back, when I was setting up a Pathauto pattern for nodes, I could access their nested properties, such as [node:field_term:parent:name]
(and the term group was expandable in the table), whereas now I can only access [node:field_term]
. Any attempt to type in the nested properties fail during validation.
So, what is wrong? How do I get that functionality back, please?
Comments
Comment #1
Dave ReidAs far as I know, it was never supported or part of the module, so I'm not sure how you got those token to work in the first place. Did you have a patch applied?
Comment #2
moniuch CreditAttribution: moniuch commentedPlease refer to this page and the screenshots: http://drupal.stackexchange.com/questions/28154/pathauto-url-of-term-for.... It's posted by someone else, so it confirms I have not been dreaming ;)
The field labeled Year Group is a term reference and it is expandable.
I don't have any patch over Token or Pathauto. I just disabled pathauto_i18n_taxonomy to eliminate this as a possible source of the problem.
It's difficult though for me to distinguish between the areas of Pathauto and Token. If you believe it does not belong to Token, please redirect my issue to the module queue where you think it belongs. Thank you.
Comment #3
moniuch CreditAttribution: moniuch commentedHere we go! After more investigation I found out that what was wrong was the Entity Tokens (a submodule of the Entity API package) disabled. Sorry for the confusion. Closing.
Comment #4
ibevamp CreditAttribution: ibevamp commentedI have the same issue. Only, my Entity Tokens module is enabled but im still not able to get the term reference field extra tokens available. i used to have a setup like the following,
[node:field_jewish_life:vocabulary]/[node:field_jewish_life:parent:name]/[node:title]
but now [:vocabulary] and [:parent:name] are missing. I've tried disabling the entity module and re enabling without any luck. I created a clean drupal install and created a similar structure and the extra tokens are available there but are not on my production server.
termreference.jpg shows a clean drupal install with the extra tokens im looking for.
termreference2.jpg shows my production server not displaying the same term reference token.
any ideas?
Comment #5
ibevamp CreditAttribution: ibevamp commentedAlmost one year later, i think my issue is finally resolved. I have no idea what fixed it or brought back the missing tokens but i believe it might've been the recent drupal upgrade to 7.26.