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

nickonom created an issue. See original summary.

nickonom’s picture

Status: Active » Closed (works as designed)

Silly me for I didn't put the node field which was used in Metatags into Full HTML text filter where token_replace resides.

DamienMcKenna’s picture

Thanks for letting us know you were able to work out the problem.

nickonom’s picture

DamienMcKenna, 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?

DamienMcKenna’s picture

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