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.
I have a content type with two fields (for argument sake):
1. Plain text
2. Node reference
Both are set to "hidden" under the content type's Manage display.
When I use them as tokens, the plain text gets rendered just fine, but the node reference comes back empty.
I don't think the Manage display status should impact how tokens are rendered in Panels, since Panels is often used to override the default display.
Please help?
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedThese tokens are provided by token.module, and CTools just passes them through for the context. It has no control over whether or not they appear. You may need to ask in token.module. That does sound like a bug; all tokens should be available regardless of visibility.
Comment #2
merlinofchaos CreditAttribution: merlinofchaos commentedComment #3
Dave ReidSee http://drupal.org/node/1299662 on how to customize the output of the field tokens since we have to use field_view_field() to display the tokens they are controlled by display settings.