Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The module does not work with taxonomy term imgefield.
The module does not work with taxonomy term imgefield.
Comments
Comment #1
13rac1 CreditAttribution: 13rac1 commentedCan you describe how it doesn't work? Which specific module there is a problem with?
Comment #2
rimen CreditAttribution: rimen commentedExtend token types list from
'#token_types' => array('node'),
to
'#token_types' => array('node', 'term'),
to support taxonomy term tokens also
Comment #3
StuddMan CreditAttribution: StuddMan commentedWorked like a charm. Updated line 79 in imagefield_tokens.module to '#token_types' => array('node','term'),
Comment #4
StuddMan CreditAttribution: StuddMan commentedAlso determined that you can pull in commerce product tokens as well if you change the line to:
'#token_types' => array('node','term','commerce-product'),
Comment #4.0
StuddMan CreditAttribution: StuddMan commentedFix a typo in the text
Comment #5
quotesBro CreditAttribution: quotesBro commentedMarking as duplicate of #1340798: Use entity tokens.
Comment #6
quotesBro CreditAttribution: quotesBro commented