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 tried all the various settings, but couldn't get tokens properly displayed in the Description and Abstract fields. They are properly replaced in Page Title and Keywords metatags fields. Is it about me doing something wrong or a bug in the module?
Comments
Comment #2
nickonom CreditAttribution: nickonom commentedSilly me for I didn't put the node field which was used in Metatags into Full HTML text filter where token_replace resides.
Comment #3
DamienMcKennaThanks for letting us know you were able to work out the problem.
Comment #4
nickonom CreditAttribution: nickonom commentedDamienMcKenna, you are welcome! But can you elaborate if it is normal behavior for Metatag module to rely on token replacement function of another module? Wasn't it supposed to replace tokens by itself?
Comment #5
DamienMcKennaThe tokens work out of the box, but if the token values don't result in anything being generated then the values will come out empty. You might need to check the "Token" view mode display settings, and maybe also look at the Devel module's "token" page for a node to see what the token values show up as.