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

merlinofchaos’s picture

These 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.

merlinofchaos’s picture

Project: Panels » Token
Version: 7.x-3.0-alpha3 » 7.x-1.x-dev
Component: Plugins - content types » Miscellaneous
Dave Reid’s picture

Status: Active » Closed (works as designed)

See 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.