The kinda duplication of [node:field_field_name] and [node:field-field-name] caused me some puzzling...

Which one is used for what case? What are the differences betwwen the underscore version to the dash version?

A somewhat rellevant issue I have find is #967136: Content type tokens but it did not answer my question.



Zach Harkey’s picture

Yes, this is confusing the hell out of me too. Can anyone shed some light on the difference between the underscored vs hyphenated tokens? Which version should we use?

bojanz’s picture

Status: Active » Fixed
Zach Harkey’s picture

#1272560: Entity tokens duplicates field tokens created by token module Partially documents some of the confusion, but I still don't understand which tokens we should use for the best chance at long term support.

bojanz’s picture

Nobody does at this point.

Amir Simantov’s picture

"Nobody does at this point." LOL

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

matt.rad’s picture

Issue summary: View changes

For what it is worth, tokens with underscores, not the duplicates with hyphens, seem to work in Rules & messaging. Hyphentated tokens don't.