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.
[current-page:title] works great but cant seem to be able to use fields
[node:field_NAME] works perfectly but the problem comes in when trying to use it in a block.
Any suggestions would be greatly appreciated
Comments
Comment #1
Dave Reid[current-page:title] isn't actually a node field, it's getting it's value from drupal_get_title() which doesn't require any kind of node context.
This is a duplicate of #919760: Add a [current-page:object:?] dynamic token